CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBBSON) does not match the name of the calling package (LibBSON). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindLibBSON.cmake:36 (find_package_handle_standard_args) src/bsoncxx/CMakeLists.txt:67 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBBSON) does not match the name of the calling package (LibBSON). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindLibBSON.cmake:36 (find_package_handle_standard_args) src/mongocxx/CMakeLists.txt:19 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (LIBMONGOC) does not match the name of the calling package (LibMongoC). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindLibMongoC.cmake:36 (find_package_handle_standard_args) src/mongocxx/CMakeLists.txt:23 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. r-r3.1.1/docs/content/contributing/testing-mongocxx.md mongo-cxx-driver-r3.1.1/docs/content/getting-help.md mongo-cxx-driver-r3.1.1/docs/content/index.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/ mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/breaking-changes.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/configuration.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/index.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/installation.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/tutorial.md mongo-cxx-driver-r3.1.1/docs/content/legacy-v1/working-with-bson.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/ mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/api-abi-versioning.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/configuration.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/index.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/installation.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/thread-safety.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/tutorial.md mongo-cxx-driver-r3.1.1/docs/content/mongocxx-v3/working-with-bson.md mongo-cxx-driver-r3.1.1/docs/content/reporting-bugs.md mongo-cxx-driver-r3.1.1/docs/data/ mongo-cxx-driver-r3.1.1/docs/data/mongodb.toml mongo-cxx-driver-r3.1.1/docs/layouts/ mongo-cxx-driver-r3.1.1/docs/layouts/.readme mongo-cxx-driver-r3.1.1/docs/layouts/shortcodes/ mongo-cxx-driver-r3.1.1/docs/layouts/shortcodes/api1ref.html mongo-cxx-driver-r3.1.1/docs/layouts/shortcodes/api3ref.html mongo-cxx-driver-r3.1.1/docs/static/ mongo-cxx-driver-r3.1.1/docs/static/.readme mongo-cxx-driver-r3.1.1/docs/themes/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/LICENSE.md mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/_default/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/_default/li.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/_default/list.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/_default/single.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/index.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/assets/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/assets/analytics.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/assets/css.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/assets/javascripts.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/footer.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header/contentHeader.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header/main.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header/search.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/header/topRight.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu/currentItem.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu/footer.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu/item.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/menu/options.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/meta.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/rightColumn.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/partials/welcome.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/shortcodes/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/shortcodes/docsref.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/shortcodes/note.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/layouts/shortcodes/srcref.html mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/.nojekyll mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/basic.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/bootstrap-custom.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/mongodb-docs.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/overrides.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/css/reset.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/favicon.ico mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/24px-baseline-overlay.png mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/code-block-bg.png mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/code-block-bg@2x.png mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/favicon.png mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/img/logo-mongodb-header.png mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/doctools.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/jquery.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/navbar.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/scripts.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/searchtools.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/js/underscore.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/bootstrap.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/bootstrap.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/bootstrap.min.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/bootstrap.min.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/css/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/css/font-awesome.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/css/font-awesome.min.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/FontAwesome.otf mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/fontawesome-webfont.eot mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/fontawesome-webfont.svg mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/fontawesome-webfont.ttf mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/font-awesome/fonts/fontawesome-webfont.woff mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/CHANGES.md mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/LICENSE mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/README.md mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/highlight.pack.js mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/styles/ mongo-cxx-driver-r3.1.1/docs/themes/mongodb/static/lib/highlight/styles/idea.css mongo-cxx-driver-r3.1.1/docs/themes/mongodb/theme.toml mongo-cxx-driver-r3.1.1/etc/ mongo-cxx-driver-r3.1.1/etc/apidocmenu.md mongo-cxx-driver-r3.1.1/etc/clang_format.py mongo-cxx-driver-r3.1.1/etc/deploy-to-ghpages.pl mongo-cxx-driver-r3.1.1/etc/doxygen-extra.css mongo-cxx-driver-r3.1.1/etc/generate-all-apidocs.pl mongo-cxx-driver-r3.1.1/etc/generate-apidocs-from-tag.pl mongo-cxx-driver-r3.1.1/etc/memcheck.suppressions mongo-cxx-driver-r3.1.1/etc/ubsan.blacklist mongo-cxx-driver-r3.1.1/examples/ mongo-cxx-driver-r3.1.1/examples/CMakeLists.txt mongo-cxx-driver-r3.1.1/examples/README.md mongo-cxx-driver-r3.1.1/examples/bsoncxx/ mongo-cxx-driver-r3.1.1/examples/bsoncxx/CMakeLists.txt mongo-cxx-driver-r3.1.1/examples/bsoncxx/builder_basic.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/builder_core.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/builder_stream.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/builder_stream_customization.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/decimal128.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/getting_values.cpp mongo-cxx-driver-r3.1.1/examples/bsoncxx/view_and_value.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/ mongo-cxx-driver-r3.1.1/examples/mongocxx/CMakeLists.txt mongo-cxx-driver-r3.1.1/examples/mongocxx/aggregate.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/bulk_write.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/connect.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/create.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/document_validation.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/exception.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/get_values_from_documents.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/index.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/inserted_id.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/instance_management.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/query.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/query_projection.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/remove.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/update.cpp mongo-cxx-driver-r3.1.1/examples/mongocxx/view_or_value_variant.cpp mongo-cxx-driver-r3.1.1/src/ mongo-cxx-driver-r3.1.1/src/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/bsoncxx/ mongo-cxx-driver-r3.1.1/src/bsoncxx/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/bsoncxx/array/ mongo-cxx-driver-r3.1.1/src/bsoncxx/array/element.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/element.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/value.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/view.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/view.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/array/view_or_value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/ mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/ mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/array.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/document.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/helpers.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/impl.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/kvp.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/sub_array.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/basic/sub_document.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/concatenate.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/core.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/core.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/ mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/array.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/array_context.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/closed_context.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/document.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/helpers.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/key_context.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/single_context.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/builder/stream/value_context.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/cmake/ mongo-cxx-driver-r3.1.1/src/bsoncxx/cmake/libbsoncxx-config.cmake.in mongo-cxx-driver-r3.1.1/src/bsoncxx/config/ mongo-cxx-driver-r3.1.1/src/bsoncxx/config/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/bsoncxx/config/compiler.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/config/config.hpp.in mongo-cxx-driver-r3.1.1/src/bsoncxx/config/libbsoncxx.pc.in mongo-cxx-driver-r3.1.1/src/bsoncxx/config/postlude.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/config/prelude.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/config/private/ mongo-cxx-driver-r3.1.1/src/bsoncxx/config/private/config.hh.in mongo-cxx-driver-r3.1.1/src/bsoncxx/config/private/postlude.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/config/private/prelude.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/config/version.hpp.in mongo-cxx-driver-r3.1.1/src/bsoncxx/decimal128.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/decimal128.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/ mongo-cxx-driver-r3.1.1/src/bsoncxx/document/element.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/element.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/value.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/view.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/view.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/document/view_or_value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/enums/ mongo-cxx-driver-r3.1.1/src/bsoncxx/enums/binary_sub_type.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/enums/type.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/exception/ mongo-cxx-driver-r3.1.1/src/bsoncxx/exception/error_code.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/exception/error_code.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/exception/exception.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/json.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/json.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/oid.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/oid.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/private/ mongo-cxx-driver-r3.1.1/src/bsoncxx/private/b64_ntop.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/private/helpers.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/private/itoa.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/private/itoa.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/private/stack.hh mongo-cxx-driver-r3.1.1/src/bsoncxx/stdx/ mongo-cxx-driver-r3.1.1/src/bsoncxx/stdx/make_unique.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/stdx/optional.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/stdx/string_view.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/string/ mongo-cxx-driver-r3.1.1/src/bsoncxx/string/view_or_value.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/string/view_or_value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/ mongo-cxx-driver-r3.1.1/src/bsoncxx/test/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/bsoncxx/test/bson_b_date.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/bson_builder.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/bson_get_values.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/bson_util_itoa.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/bson_validate.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/json.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/test/view_or_value.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/third_party/ mongo-cxx-driver-r3.1.1/src/bsoncxx/third_party/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/bsoncxx/types.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/types.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/types/ mongo-cxx-driver-r3.1.1/src/bsoncxx/types/value.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/types/value.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/util/ mongo-cxx-driver-r3.1.1/src/bsoncxx/util/functor.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/validate.cpp mongo-cxx-driver-r3.1.1/src/bsoncxx/validate.hpp mongo-cxx-driver-r3.1.1/src/bsoncxx/view_or_value.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/ mongo-cxx-driver-r3.1.1/src/mongocxx/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/client.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/cmake/ mongo-cxx-driver-r3.1.1/src/mongocxx/cmake/libmongocxx-config.cmake.in mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/collection.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/config/ mongo-cxx-driver-r3.1.1/src/mongocxx/config/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/mongocxx/config/compiler.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/config/config.hpp.in mongo-cxx-driver-r3.1.1/src/mongocxx/config/libmongocxx.pc.in mongo-cxx-driver-r3.1.1/src/mongocxx/config/postlude.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/config/prelude.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/config/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/config/private/config.hh.in mongo-cxx-driver-r3.1.1/src/mongocxx/config/private/postlude.hh mongo-cxx-driver-r3.1.1/src/mongocxx/config/private/prelude.hh mongo-cxx-driver-r3.1.1/src/mongocxx/config/version.hpp.in mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/database.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/ mongo-cxx-driver-r3.1.1/src/mongocxx/exception/authentication_exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/bulk_write_exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/error_code.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/error_code.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/logic_error.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/operation_exception.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/operation_exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/error_category.hh mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh mongo-cxx-driver-r3.1.1/src/mongocxx/exception/query_exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/server_error_code.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/server_error_code.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/exception/write_exception.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/hint.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/hint.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/insert_many_builder.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/insert_many_builder.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/instance.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/logger.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/logger.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/ mongo-cxx-driver-r3.1.1/src/mongocxx/model/delete_many.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/delete_many.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/delete_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/delete_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/insert_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/insert_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/replace_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/replace_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/update_many.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/update_many.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/update_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/update_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/write.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/model/write.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/ mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/bulk_write.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/bulk_write.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/client.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/client.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/create_collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/create_collection.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/create_view.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/create_view.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/delete.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_delete.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_replace.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_replace.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_and_update.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/find_one_common_options.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/insert.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/insert.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/modify_collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/modify_collection.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/pool.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/pool.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/options/private/rewriter.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/private/rewriter.hh mongo-cxx-driver-r3.1.1/src/mongocxx/options/ssl.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/ssl.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/options/update.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/pipeline.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/pipeline.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/pool.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/private/bulk_write.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/collection.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/cursor.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/database.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/libbson.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/private/libbson.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/pipeline.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/pool.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_concern.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/ssl.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/uri.hh mongo-cxx-driver-r3.1.1/src/mongocxx/private/write_concern.hh mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/ mongo-cxx-driver-r3.1.1/src/mongocxx/result/bulk_write.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/bulk_write.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/delete.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/insert_many.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/insert_many.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/insert_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/insert_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/replace_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/replace_one.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/result/update.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/stdx.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/CMakeLists.txt mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/hint.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/modify_collection.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/ mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/uri.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test/write_concern.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test_util/ mongo-cxx-driver-r3.1.1/src/mongocxx/test_util/client_helpers.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/test_util/client_helpers.hh mongo-cxx-driver-r3.1.1/src/mongocxx/test_util/mock.hh mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/uri.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/validation_criteria.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/validation_criteria.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.hpp mongo-cxx-driver-r3.1.1/src/mongocxx/write_type.hpp mongo-cxx-driver-r3.1.1/src/third_party/ mongo-cxx-driver-r3.1.1/src/third_party/catch/ mongo-cxx-driver-r3.1.1/src/third_party/catch/include/ mongo-cxx-driver-r3.1.1/src/third_party/catch/include/catch.hpp mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp mongo-cxx-driver-r3.1.1/src/third_party/catch/main.cpp patching file examples/mongocxx/CMakeLists.txt patching file src/bsoncxx/CMakeLists.txt patching file src/bsoncxx/config/CMakeLists.txt patching file src/bsoncxx/config/libbsoncxx.pc.in patching file src/mongocxx/CMakeLists.txt patching file src/mongocxx/config/CMakeLists.txt patching file src/mongocxx/config/libmongocxx.pc.in -- The CXX compiler identification is GNU 11.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking for module 'libbson-1.0>=1.5.0' -- Found libbson-1.0, version 1.17.3 -- Found LIBBSON: TRUE -- Found Boost: /usr/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.56.0") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Checking for module 'libmongoc-1.0>=1.5.0' -- Found libmongoc-1.0, version 1.17.3 -- Found LIBMONGOC: TRUE -- Configuring done -- Generating done -- Build files have been written to: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/build [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/element.cpp.o [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/value.cpp.o [ 1%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/array/view.cpp.o [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/builder/core.cpp.o [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/decimal128.cpp.o [ 2%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/element.cpp.o [ 3%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/value.cpp.o [ 3%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/document/view.cpp.o [ 3%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/exception/error_code.cpp.o [ 4%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/json.cpp.o [ 4%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/oid.cpp.o [ 4%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/private/itoa.cpp.o [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/string/view_or_value.cpp.o [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/types.cpp.o [ 5%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/types/value.cpp.o [ 7%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx.dir/validate.cpp.o [ 7%] Linking CXX shared library libbsoncxx.so [ 7%] Built target bsoncxx [ 7%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/array/element.cpp.o [ 8%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/array/value.cpp.o [ 8%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/array/view.cpp.o [ 8%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/builder/core.cpp.o [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/decimal128.cpp.o [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/document/element.cpp.o [ 9%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/document/value.cpp.o [ 10%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/document/view.cpp.o [ 10%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/exception/error_code.cpp.o [ 10%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/json.cpp.o [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/oid.cpp.o [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/private/itoa.cpp.o [ 11%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/string/view_or_value.cpp.o [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/types.cpp.o [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/types/value.cpp.o [ 12%] Building CXX object src/bsoncxx/CMakeFiles/bsoncxx_static.dir/validate.cpp.o [ 14%] Linking CXX static library libbsoncxx.a [ 14%] Built target bsoncxx_static [ 14%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/__/__/third_party/catch/main.cpp.o [ 15%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_b_date.cpp.o [ 15%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_builder.cpp.o [ 15%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_get_values.cpp.o [ 16%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_util_itoa.cpp.o [ 16%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/bson_validate.cpp.o [ 16%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/json.cpp.o [ 17%] Building CXX object src/bsoncxx/test/CMakeFiles/test_bson.dir/view_or_value.cpp.o [ 17%] Linking CXX executable test_bson [ 17%] Built target test_bson [ 17%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/bulk_write.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/client.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/collection.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/cursor.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/database.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/error_code.cpp.o [ 20%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/server_error_code.cpp.o [ 21%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/exception/operation_exception.cpp.o [ 21%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/hint.cpp.o [ 21%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/insert_many_builder.cpp.o [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/instance.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/logger.cpp.o [ 22%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/delete_many.cpp.o [ 23%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/delete_one.cpp.o [ 23%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/insert_one.cpp.o [ 23%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/replace_one.cpp.o [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/update_many.cpp.o [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/update_one.cpp.o [ 24%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/model/write.cpp.o [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/aggregate.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/bulk_write.cpp.o [ 25%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/client.cpp.o [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/count.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/create_collection.cpp.o [ 27%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/create_view.cpp.o [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/delete.cpp.o [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/distinct.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 29%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_delete.cpp.o [ 29%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_replace.cpp.o [ 29%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/find_one_and_update.cpp.o [ 30%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/index.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 30%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/insert.cpp.o [ 30%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/modify_collection.cpp.o [ 31%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/pool.cpp.o [ 31%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/private/rewriter.cpp.o [ 31%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/ssl.cpp.o [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/options/update.cpp.o [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/pipeline.cpp.o [ 32%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/pool.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 34%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/private/libbson.cpp.o [ 34%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/private/libmongoc.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 34%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/read_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 35%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/read_preference.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 35%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/bulk_write.cpp.o [ 35%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/delete.cpp.o [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/insert_many.cpp.o [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/insert_one.cpp.o [ 36%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/replace_one.cpp.o [ 37%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/result/update.cpp.o [ 37%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/uri.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 38%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/validation_criteria.cpp.o [ 38%] Building CXX object src/mongocxx/CMakeFiles/mongocxx.dir/write_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 38%] Linking CXX shared library libmongocxx.so [ 38%] Built target mongocxx [ 40%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/bulk_write.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 40%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/client.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 40%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/collection.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/cursor.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/database.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/error_code.cpp.o [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/server_error_code.cpp.o [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/exception/operation_exception.cpp.o [ 42%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/hint.cpp.o [ 43%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/insert_many_builder.cpp.o [ 43%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/instance.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 43%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/logger.cpp.o [ 44%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/delete_many.cpp.o [ 44%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/delete_one.cpp.o [ 44%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/insert_one.cpp.o [ 45%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/replace_one.cpp.o [ 45%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/update_many.cpp.o [ 45%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/update_one.cpp.o [ 47%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/model/write.cpp.o [ 47%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/aggregate.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/bulk_write.cpp.o [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/client.cpp.o [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/count.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 48%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/create_collection.cpp.o [ 49%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/create_view.cpp.o [ 49%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/delete.cpp.o [ 49%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/distinct.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_delete.cpp.o [ 50%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_replace.cpp.o [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/find_one_and_update.cpp.o [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/index.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 51%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/insert.cpp.o [ 52%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/modify_collection.cpp.o [ 52%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/pool.cpp.o [ 52%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/private/rewriter.cpp.o [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/ssl.cpp.o [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/options/update.cpp.o [ 54%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/pipeline.cpp.o [ 55%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/pool.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 55%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/private/libbson.cpp.o [ 55%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/private/libmongoc.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:31: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 25 | test_util::mock& name = \ | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:40: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:56: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:69: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:25:45: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 25 | test_util::mock& name = \ | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:26:54: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 26 | *new test_util::mock(mongoc_##name); | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 56%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/read_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 56%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/read_preference.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 56%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/bulk_write.cpp.o [ 57%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/delete.cpp.o [ 57%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/insert_many.cpp.o [ 57%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/insert_one.cpp.o [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/replace_one.cpp.o [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/result/update.cpp.o [ 58%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/uri.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/validation_criteria.cpp.o [ 60%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_mocked.dir/write_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Linking CXX static library libmongocxx_mocked.a [ 60%] Built target mongocxx_mocked [ 61%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/bulk_write.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/bulk_write.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 61%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/client.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/client.cpp:22: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/collection.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/collection.cpp:39: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/cursor.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/cursor.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/database.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/exception/private/mongoc_error.hh:19, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/database.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/exception/error_code.cpp.o [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/exception/server_error_code.cpp.o [ 63%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/exception/operation_exception.cpp.o [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/hint.cpp.o [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/insert_many_builder.cpp.o [ 64%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/instance.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/instance.cpp:26: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 65%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/logger.cpp.o [ 65%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/delete_many.cpp.o [ 65%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/delete_one.cpp.o [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/insert_one.cpp.o [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/replace_one.cpp.o [ 67%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/update_many.cpp.o [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/update_one.cpp.o [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/model/write.cpp.o [ 68%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/aggregate.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/aggregate.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 69%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/bulk_write.cpp.o [ 69%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/client.cpp.o [ 69%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/count.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/count.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/create_collection.cpp.o [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/create_view.cpp.o [ 70%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/delete.cpp.o [ 71%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/distinct.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/distinct.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 71%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/find.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/read_preference.hh:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/find.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 71%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/find_one_and_delete.cpp.o [ 72%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/find_one_and_replace.cpp.o [ 72%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/find_one_and_update.cpp.o [ 72%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/index.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/options/index.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 74%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/insert.cpp.o [ 74%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/modify_collection.cpp.o [ 74%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/pool.cpp.o [ 75%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/private/rewriter.cpp.o [ 75%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/ssl.cpp.o [ 75%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/options/update.cpp.o [ 76%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/pipeline.cpp.o [ 76%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/pool.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/client.hh:20, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/pool.cpp:23: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 76%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/private/libbson.cpp.o [ 77%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/private/libmongoc.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.cpp:15: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 77%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/read_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_concern.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 77%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/read_preference.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/read_preference.cpp:21: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 78%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/bulk_write.cpp.o [ 78%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/delete.cpp.o [ 78%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/insert_many.cpp.o [ 80%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/insert_one.cpp.o [ 80%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/replace_one.cpp.o [ 80%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/result/update.cpp.o [ 81%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/uri.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/uri.cpp:20: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 81%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/validation_criteria.cpp.o [ 81%] Building CXX object src/mongocxx/CMakeFiles/mongocxx_static.dir/write_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:33:63: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 33 | #define MONGOCXX_LIBMONGOC_SYMBOL(name) constexpr auto name = mongoc_##name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/write_concern.cpp:25: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ [ 82%] Linking CXX static library libmongocxx.a [ 82%] Built target mongocxx_static [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_instance.dir/__/__/third_party/catch/main.cpp.o [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_instance.dir/instance.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/instance.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 83%] Linking CXX executable test_instance [ 83%] Built target test_instance [ 83%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/__/test_util/client_helpers.cpp.o [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/__/__/third_party/catch/main.cpp.o [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/bulk_write.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/bulk_write.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 84%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/client.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/client.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/collection.cpp.o [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/collection_mocked.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/collection_mocked.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 85%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/database.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/database.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 87%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/hint.cpp.o [ 87%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/delete_many.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 87%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/delete_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/delete_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/insert_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/replace_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 88%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/update_many.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_many.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/model/update_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/model/update_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/aggregate.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/aggregate.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/count.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/count.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/create_collection.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_collection.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/create_view.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/create_view.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 90%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/delete.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 91%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/distinct.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/distinct.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 91%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 91%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_delete.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_delete.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_replace.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_replace.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/find_one_and_update.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/find_one_and_update.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 92%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/index.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/index.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/insert.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/insert.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/modify_collection.cpp.o [ 94%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/pool.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 95%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/private/rewriter.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/private/rewriter.cpp:18: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 95%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/options/update.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/options/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 95%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/pool.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/pool.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/private/scoped_bson_t.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/scoped_bson_t.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/private/write_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/private/write_concern.cpp:17: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 96%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/read_concern.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_concern.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/read_preference.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/read_preference.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/delete.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/delete.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 97%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/insert_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/insert_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/replace_one.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/replace_one.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/result/update.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/result/update.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/uri.cpp.o [100%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/validation_criteria.cpp.o In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘uint32_t (*)(mongoc_bulk_operation_t*, bson_t*, bson_error_t*)’ {aka ‘unsigned int (*)(_mongoc_bulk_operation_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:16:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 16 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_execute) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_bulk_operation_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_bulk_operation_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:18:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 18 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_insert) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:20:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 20 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:21:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 21 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_remove_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:22:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 22 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_replace_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:28:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 28 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_many_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_bulk_operation_t*, const bson_t*, const bson_t*, const bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_bulk_operation_t*, const _bson_t*, const _bson_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:29:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 29 | MONGOCXX_LIBMONGOC_SYMBOL(bulk_operation_update_one_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_client_find_databases(mongoc_client_t*, bson_error_t*)’ is deprecated: Use mongoc_client_find_databases_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:202:1: note: declared here 202 | mongoc_client_find_databases (mongoc_client_t *client, bson_error_t *error) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_client_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:32:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 32 | MONGOCXX_LIBMONGOC_SYMBOL(client_find_databases) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:48:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 48 | MONGOCXX_LIBMONGOC_SYMBOL(collection_aggregate) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:96:1: note: declared here 96 | mongoc_collection_count (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:50:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 50 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘int64_t mongoc_collection_count_with_opts(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_count_documents or mongoc_collection_estimated_document_count instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:106:1: note: declared here 106 | mongoc_collection_count_with_opts (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘int64_t (*)(mongoc_collection_t*, mongoc_query_flags_t, const bson_t*, int64_t, int64_t, const bson_t*, const mongoc_read_prefs_t*, bson_error_t*)’ {aka ‘long long int (*)(_mongoc_collection_t*, mongoc_query_flags_t, const _bson_t*, long long int, long long int, const _bson_t*, const _mongoc_read_prefs_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:51:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 51 | MONGOCXX_LIBMONGOC_SYMBOL(collection_count_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_collection_create_index(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:132:1: note: declared here 132 | mongoc_collection_create_index (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_index_opt_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const mongoc_index_opt_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:52:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 52 | MONGOCXX_LIBMONGOC_SYMBOL(collection_create_index) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:54:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 54 | MONGOCXX_LIBMONGOC_SYMBOL(collection_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_find_and_modify_opts_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_find_and_modify_opts_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:55:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 55 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_and_modify_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_collection_find_indexes(mongoc_collection_t*, bson_error_t*)’ is deprecated: Use mongoc_collection_find_indexes_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:150:1: note: declared here 150 | mongoc_collection_find_indexes (mongoc_collection_t *collection, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:56:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 56 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_indexes) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_collection_t*, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_collection_t*, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:57:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 57 | MONGOCXX_LIBMONGOC_SYMBOL(collection_find_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘const bson_t* mongoc_collection_get_last_error(const mongoc_collection_t*)’ is deprecated [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:326:1: note: declared here 326 | mongoc_collection_get_last_error (const mongoc_collection_t *collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_collection_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_collection_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:58:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 58 | MONGOCXX_LIBMONGOC_SYMBOL(collection_get_last_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘char* (*)(const bson_t*)’ {aka ‘char* (*)(const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:63:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 63 | MONGOCXX_LIBMONGOC_SYMBOL(collection_keys_to_index_string) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const bson_t*, const mongoc_read_prefs_t*, const bson_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const _bson_t*, const _mongoc_read_prefs_t*, const _bson_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:64:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 64 | MONGOCXX_LIBMONGOC_SYMBOL(collection_read_command_with_opts) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_collection_t*, const char*, const char*, bool, bson_error_t*)’ {aka ‘bool (*)(_mongoc_collection_t*, const char*, const char*, bool, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:65:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 65 | MONGOCXX_LIBMONGOC_SYMBOL(collection_rename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_cursor_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:70:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 70 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_error) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_cursor_new_from_command_reply(_mongoc_client_t*, bson_t*, uint32_t)’ is deprecated: Use mongoc_cursor_new_from_command_reply_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-collection.h:28, from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:26, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-cursor.h:80:1: note: declared here 80 | mongoc_cursor_new_from_command_reply (struct _mongoc_client_t *client, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(_mongoc_client_t*, bson_t*, uint32_t)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_client_t*, _bson_t*, unsigned int)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:71:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 71 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_new_from_command_reply) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_cursor_t*, const bson_t**)’ {aka ‘bool (*)(_mongoc_cursor_t*, const _bson_t**)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:72:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 72 | MONGOCXX_LIBMONGOC_SYMBOL(cursor_next) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, mongoc_query_flags_t, uint32_t, uint32_t, uint32_t, const bson_t*, const bson_t*, const mongoc_read_prefs_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, mongoc_query_flags_t, unsigned int, unsigned int, unsigned int, const _bson_t*, const _bson_t*, const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:74:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 74 | MONGOCXX_LIBMONGOC_SYMBOL(database_command) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const bson_t*, const mongoc_read_prefs_t*, bson_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const _bson_t*, const _mongoc_read_prefs_t*, _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:75:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 75 | MONGOCXX_LIBMONGOC_SYMBOL(database_command_simple) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_collection_t* (*)(mongoc_database_t*, const char*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_collection_t* (*)(_mongoc_database_t*, const char*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:77:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 77 | MONGOCXX_LIBMONGOC_SYMBOL(database_create_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:79:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 79 | MONGOCXX_LIBMONGOC_SYMBOL(database_drop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘mongoc_cursor_t* mongoc_database_find_collections(mongoc_database_t*, const bson_t*, bson_error_t*)’ is deprecated: Use mongoc_database_find_collections_with_opts instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:29, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-database.h:136:1: note: declared here 136 | mongoc_database_find_collections (mongoc_database_t *database, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_cursor_t* (*)(mongoc_database_t*, const bson_t*, bson_error_t*)’ {aka ‘_mongoc_cursor_t* (*)(_mongoc_database_t*, const _bson_t*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:80:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 80 | MONGOCXX_LIBMONGOC_SYMBOL(database_find_collections) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_database_t*, const char*, bson_error_t*)’ {aka ‘bool (*)(_mongoc_database_t*, const char*, _bson_error_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:85:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 85 | MONGOCXX_LIBMONGOC_SYMBOL(database_has_collection) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:89:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 89 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_append) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:93:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 93 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_fields) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:95:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 95 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_sort) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘bool (*)(mongoc_find_and_modify_opts_t*, const bson_t*)’ {aka ‘bool (*)(_mongoc_find_and_modify_opts_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:96:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 96 | MONGOCXX_LIBMONGOC_SYMBOL(find_and_modify_opts_set_update) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_read_prefs_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_read_prefs_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:112:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 112 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_get_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘void (*)(mongoc_read_prefs_t*, const bson_t*)’ {aka ‘void (*)(_mongoc_read_prefs_t*, const _bson_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:116:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 116 | MONGOCXX_LIBMONGOC_SYMBOL(read_prefs_set_tags) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘const bson_t* (*)(const mongoc_uri_t*)’ {aka ‘const _bson_t* (*)(const _mongoc_uri_t*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:123:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 123 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_options) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:48: warning: ‘bool mongoc_uri_get_ssl(const mongoc_uri_t*)’ is deprecated: Use mongoc_uri_get_tls instead [-Wdeprecated-declarations] 29 | extern mongocxx::test_util::mock& name; | ^~~~~~~ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:128:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 128 | MONGOCXX_LIBMONGOC_SYMBOL(uri_get_ssl) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmongoc-1.0/mongoc/mongoc-client.h:38, from /usr/include/libmongoc-1.0/mongoc/mongoc.h:29, from /usr/include/libmongoc-1.0/mongoc.h:18, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/include/libmongoc-1.0/mongoc/mongoc-uri.h:199:1: note: declared here 199 | mongoc_uri_get_ssl (const mongoc_uri_t *uri) | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/third_party/catch/include/helpers.hpp:17, from /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/test/validation_criteria.cpp:16: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc.hh:29:62: warning: ignoring attributes on template argument ‘mongoc_uri_t* (*)(const char*)’ {aka ‘_mongoc_uri_t* (*)(const char*)’} [-Wignored-attributes] 29 | extern mongocxx::test_util::mock& name; | ^ /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1/src/mongocxx/private/libmongoc_symbols.hh:132:1: note: in expansion of macro ‘MONGOCXX_LIBMONGOC_SYMBOL’ 132 | MONGOCXX_LIBMONGOC_SYMBOL(uri_new) | ^~~~~~~~~~~~~~~~~~~~~~~~~ [100%] Building CXX object src/mongocxx/test/CMakeFiles/test_driver.dir/write_concern.cpp.o [100%] Linking CXX executable test_driver [100%] Built target test_driver Consolidate compiler generated dependencies of target bsoncxx [ 7%] Built target bsoncxx Consolidate compiler generated dependencies of target bsoncxx_static [ 14%] Built target bsoncxx_static Consolidate compiler generated dependencies of target test_bson [ 17%] Built target test_bson Consolidate compiler generated dependencies of target mongocxx [ 38%] Built target mongocxx Consolidate compiler generated dependencies of target mongocxx_mocked [ 60%] Built target mongocxx_mocked Consolidate compiler generated dependencies of target mongocxx_static [ 82%] Built target mongocxx_static Consolidate compiler generated dependencies of target test_instance [ 83%] Built target test_instance Consolidate compiler generated dependencies of target test_driver [100%] Built target test_driver Install the project... -- Install configuration: "Release" -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/array -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/array/element.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/array/value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/array/view.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/array/view_or_value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/array.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/document.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/helpers.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/impl.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/kvp.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_array.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_document.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/concatenate.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/core.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array_context.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/closed_context.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/document.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/helpers.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/key_context.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/single_context.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/value_context.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/compiler.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/postlude.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/prelude.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/decimal128.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/document -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/document/element.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/document/value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/document/view.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/document/view_or_value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/enums -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/enums/binary_sub_type.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/enums/type.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/exception -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/exception/error_code.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/exception/exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/json.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/oid.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/stdx -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/make_unique.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/optional.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/stdx/string_view.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/string -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/string/view_or_value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/test -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/third_party -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/types.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/types -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/types/value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/util -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/util/functor.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/validate.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/view_or_value.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libbsoncxx.so.3.1.1 -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libbsoncxx.so._noabi -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libbsoncxx.so -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libbsoncxx.a -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/cmake/libbsoncxx-3.1.1/libbsoncxx-config.cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/cmake/libbsoncxx-3.1.1/libbsoncxx-config-version.cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/pkgconfig/libbsoncxx.pc -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/bulk_write.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/client.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/collection.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/compiler.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/postlude.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/prelude.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/cursor.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/database.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/authentication_exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/bulk_write_exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/error_code.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/logic_error.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/operation_exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/query_exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/server_error_code.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/exception/write_exception.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/hint.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/insert_many_builder.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/instance.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/logger.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/delete_many.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/delete_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/insert_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/replace_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/update_many.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/update_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/model/write.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/aggregate.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/bulk_write.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/client.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/count.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/create_collection.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/create_view.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/delete.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/distinct.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/find.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_delete.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_replace.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_update.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/find_one_common_options.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/index.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/insert.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/modify_collection.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/pool.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/ssl.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/options/update.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/pipeline.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/pool.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/read_concern.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/read_preference.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/bulk_write.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/delete.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/insert_many.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/insert_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/replace_one.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/result/update.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/stdx.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test/model -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test/options -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test/options/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test/private -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test/result -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/test_util -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/uri.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/validation_criteria.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/write_concern.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/write_type.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/export.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libmongocxx.so.3.1.1 -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libmongocxx.so._noabi -- Set runtime path of "/usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libmongocxx.so.3.1.1" to "" -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libmongocxx.so -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/libmongocxx.a -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/cmake/libmongocxx-3.1.1/libmongocxx-config.cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/cmake/libmongocxx-3.1.1/libmongocxx-config-version.cmake -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/config.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/include/mongocxx/v_noabi/mongocxx/config/version.hpp -- Installing: /usr/src/slapt-src/libraries/mongo-cxx-driver/package-mongo-cxx-driver/usr/lib/pkgconfig/libmongocxx.pc Slackware package maker, version 3.14159265. Searching for symbolic links: usr/lib/libbsoncxx.so libbsoncxx.so._noabi usr/lib/libbsoncxx.so._noabi libbsoncxx.so.3.1.1 usr/lib/libmongocxx.so libmongocxx.so._noabi usr/lib/libmongocxx.so._noabi libmongocxx.so.3.1.1 Making symbolic link creation script: ( cd usr/lib ; rm -rf libbsoncxx.so ) ( cd usr/lib ; ln -sf libbsoncxx.so._noabi libbsoncxx.so ) ( cd usr/lib ; rm -rf libbsoncxx.so._noabi ) ( cd usr/lib ; ln -sf libbsoncxx.so.3.1.1 libbsoncxx.so._noabi ) ( cd usr/lib ; rm -rf libmongocxx.so ) ( cd usr/lib ; ln -sf libmongocxx.so._noabi libmongocxx.so ) ( cd usr/lib ; rm -rf libmongocxx.so._noabi ) ( cd usr/lib ; ln -sf libmongocxx.so.3.1.1 libmongocxx.so._noabi ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/lib/libbsoncxx.so._noabi' removed './usr/lib/libbsoncxx.so' removed './usr/lib/libmongocxx.so._noabi' removed './usr/lib/libmongocxx.so' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1-i586-1salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/doc/ usr/doc/mongo-cxx-driver-r3.1.1/ usr/doc/mongo-cxx-driver-r3.1.1/CONTRIBUTING.md usr/doc/mongo-cxx-driver-r3.1.1/CREDITS.json usr/doc/mongo-cxx-driver-r3.1.1/Doxyfile usr/doc/mongo-cxx-driver-r3.1.1/LICENSE usr/doc/mongo-cxx-driver-r3.1.1/README.md usr/doc/mongo-cxx-driver-r3.1.1/THIRD-PARTY-NOTICES usr/doc/mongo-cxx-driver-r3.1.1/TODO.md usr/doc/mongo-cxx-driver-r3.1.1/mongo-cxx-driver.SlackBuild usr/include/ usr/include/bsoncxx/ usr/include/bsoncxx/v_noabi/ usr/include/bsoncxx/v_noabi/bsoncxx/ usr/include/bsoncxx/v_noabi/bsoncxx/array/ usr/include/bsoncxx/v_noabi/bsoncxx/array/element.hpp usr/include/bsoncxx/v_noabi/bsoncxx/array/value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/array/view.hpp usr/include/bsoncxx/v_noabi/bsoncxx/array/view_or_value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/ usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/ usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/array.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/document.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/helpers.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/impl.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/kvp.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_array.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/basic/sub_document.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/concatenate.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/core.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/ usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/array_context.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/closed_context.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/document.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/helpers.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/key_context.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/single_context.hpp usr/include/bsoncxx/v_noabi/bsoncxx/builder/stream/value_context.hpp usr/include/bsoncxx/v_noabi/bsoncxx/cmake/ usr/include/bsoncxx/v_noabi/bsoncxx/config/ usr/include/bsoncxx/v_noabi/bsoncxx/config/compiler.hpp usr/include/bsoncxx/v_noabi/bsoncxx/config/config.hpp usr/include/bsoncxx/v_noabi/bsoncxx/config/export.hpp usr/include/bsoncxx/v_noabi/bsoncxx/config/postlude.hpp usr/include/bsoncxx/v_noabi/bsoncxx/config/prelude.hpp usr/include/bsoncxx/v_noabi/bsoncxx/config/private/ usr/include/bsoncxx/v_noabi/bsoncxx/config/version.hpp usr/include/bsoncxx/v_noabi/bsoncxx/decimal128.hpp usr/include/bsoncxx/v_noabi/bsoncxx/document/ usr/include/bsoncxx/v_noabi/bsoncxx/document/element.hpp usr/include/bsoncxx/v_noabi/bsoncxx/document/value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/document/view.hpp usr/include/bsoncxx/v_noabi/bsoncxx/document/view_or_value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/enums/ usr/include/bsoncxx/v_noabi/bsoncxx/enums/binary_sub_type.hpp usr/include/bsoncxx/v_noabi/bsoncxx/enums/type.hpp usr/include/bsoncxx/v_noabi/bsoncxx/exception/ usr/include/bsoncxx/v_noabi/bsoncxx/exception/error_code.hpp usr/include/bsoncxx/v_noabi/bsoncxx/exception/exception.hpp usr/include/bsoncxx/v_noabi/bsoncxx/json.hpp usr/include/bsoncxx/v_noabi/bsoncxx/oid.hpp usr/include/bsoncxx/v_noabi/bsoncxx/private/ usr/include/bsoncxx/v_noabi/bsoncxx/stdx/ usr/include/bsoncxx/v_noabi/bsoncxx/stdx/make_unique.hpp usr/include/bsoncxx/v_noabi/bsoncxx/stdx/optional.hpp usr/include/bsoncxx/v_noabi/bsoncxx/stdx/string_view.hpp usr/include/bsoncxx/v_noabi/bsoncxx/string/ usr/include/bsoncxx/v_noabi/bsoncxx/string/view_or_value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/test/ usr/include/bsoncxx/v_noabi/bsoncxx/third_party/ usr/include/bsoncxx/v_noabi/bsoncxx/types/ usr/include/bsoncxx/v_noabi/bsoncxx/types.hpp usr/include/bsoncxx/v_noabi/bsoncxx/types/value.hpp usr/include/bsoncxx/v_noabi/bsoncxx/util/ usr/include/bsoncxx/v_noabi/bsoncxx/util/functor.hpp usr/include/bsoncxx/v_noabi/bsoncxx/validate.hpp usr/include/bsoncxx/v_noabi/bsoncxx/view_or_value.hpp usr/include/mongocxx/ usr/include/mongocxx/v_noabi/ usr/include/mongocxx/v_noabi/mongocxx/ usr/include/mongocxx/v_noabi/mongocxx/bulk_write.hpp usr/include/mongocxx/v_noabi/mongocxx/client.hpp usr/include/mongocxx/v_noabi/mongocxx/cmake/ usr/include/mongocxx/v_noabi/mongocxx/collection.hpp usr/include/mongocxx/v_noabi/mongocxx/config/ usr/include/mongocxx/v_noabi/mongocxx/config/compiler.hpp usr/include/mongocxx/v_noabi/mongocxx/config/config.hpp usr/include/mongocxx/v_noabi/mongocxx/config/export.hpp usr/include/mongocxx/v_noabi/mongocxx/config/postlude.hpp usr/include/mongocxx/v_noabi/mongocxx/config/prelude.hpp usr/include/mongocxx/v_noabi/mongocxx/config/private/ usr/include/mongocxx/v_noabi/mongocxx/config/version.hpp usr/include/mongocxx/v_noabi/mongocxx/cursor.hpp usr/include/mongocxx/v_noabi/mongocxx/database.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/ usr/include/mongocxx/v_noabi/mongocxx/exception/authentication_exception.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/bulk_write_exception.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/error_code.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/exception.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/logic_error.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/operation_exception.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/private/ usr/include/mongocxx/v_noabi/mongocxx/exception/query_exception.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/server_error_code.hpp usr/include/mongocxx/v_noabi/mongocxx/exception/write_exception.hpp usr/include/mongocxx/v_noabi/mongocxx/hint.hpp usr/include/mongocxx/v_noabi/mongocxx/insert_many_builder.hpp usr/include/mongocxx/v_noabi/mongocxx/instance.hpp usr/include/mongocxx/v_noabi/mongocxx/logger.hpp usr/include/mongocxx/v_noabi/mongocxx/model/ usr/include/mongocxx/v_noabi/mongocxx/model/delete_many.hpp usr/include/mongocxx/v_noabi/mongocxx/model/delete_one.hpp usr/include/mongocxx/v_noabi/mongocxx/model/insert_one.hpp usr/include/mongocxx/v_noabi/mongocxx/model/replace_one.hpp usr/include/mongocxx/v_noabi/mongocxx/model/update_many.hpp usr/include/mongocxx/v_noabi/mongocxx/model/update_one.hpp usr/include/mongocxx/v_noabi/mongocxx/model/write.hpp usr/include/mongocxx/v_noabi/mongocxx/options/ usr/include/mongocxx/v_noabi/mongocxx/options/aggregate.hpp usr/include/mongocxx/v_noabi/mongocxx/options/bulk_write.hpp usr/include/mongocxx/v_noabi/mongocxx/options/client.hpp usr/include/mongocxx/v_noabi/mongocxx/options/count.hpp usr/include/mongocxx/v_noabi/mongocxx/options/create_collection.hpp usr/include/mongocxx/v_noabi/mongocxx/options/create_view.hpp usr/include/mongocxx/v_noabi/mongocxx/options/delete.hpp usr/include/mongocxx/v_noabi/mongocxx/options/distinct.hpp usr/include/mongocxx/v_noabi/mongocxx/options/find.hpp usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_delete.hpp usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_replace.hpp usr/include/mongocxx/v_noabi/mongocxx/options/find_one_and_update.hpp usr/include/mongocxx/v_noabi/mongocxx/options/find_one_common_options.hpp usr/include/mongocxx/v_noabi/mongocxx/options/index.hpp usr/include/mongocxx/v_noabi/mongocxx/options/insert.hpp usr/include/mongocxx/v_noabi/mongocxx/options/modify_collection.hpp usr/include/mongocxx/v_noabi/mongocxx/options/pool.hpp usr/include/mongocxx/v_noabi/mongocxx/options/private/ usr/include/mongocxx/v_noabi/mongocxx/options/ssl.hpp usr/include/mongocxx/v_noabi/mongocxx/options/update.hpp usr/include/mongocxx/v_noabi/mongocxx/pipeline.hpp usr/include/mongocxx/v_noabi/mongocxx/pool.hpp usr/include/mongocxx/v_noabi/mongocxx/private/ usr/include/mongocxx/v_noabi/mongocxx/read_concern.hpp usr/include/mongocxx/v_noabi/mongocxx/read_preference.hpp usr/include/mongocxx/v_noabi/mongocxx/result/ usr/include/mongocxx/v_noabi/mongocxx/result/bulk_write.hpp usr/include/mongocxx/v_noabi/mongocxx/result/delete.hpp usr/include/mongocxx/v_noabi/mongocxx/result/insert_many.hpp usr/include/mongocxx/v_noabi/mongocxx/result/insert_one.hpp usr/include/mongocxx/v_noabi/mongocxx/result/replace_one.hpp usr/include/mongocxx/v_noabi/mongocxx/result/update.hpp usr/include/mongocxx/v_noabi/mongocxx/stdx.hpp usr/include/mongocxx/v_noabi/mongocxx/test/ usr/include/mongocxx/v_noabi/mongocxx/test/model/ usr/include/mongocxx/v_noabi/mongocxx/test/options/ usr/include/mongocxx/v_noabi/mongocxx/test/options/private/ usr/include/mongocxx/v_noabi/mongocxx/test/private/ usr/include/mongocxx/v_noabi/mongocxx/test/result/ usr/include/mongocxx/v_noabi/mongocxx/test_util/ usr/include/mongocxx/v_noabi/mongocxx/uri.hpp usr/include/mongocxx/v_noabi/mongocxx/validation_criteria.hpp usr/include/mongocxx/v_noabi/mongocxx/write_concern.hpp usr/include/mongocxx/v_noabi/mongocxx/write_type.hpp usr/lib/ usr/lib/cmake/ usr/lib/cmake/libbsoncxx-3.1.1/ usr/lib/cmake/libbsoncxx-3.1.1/libbsoncxx-config-version.cmake usr/lib/cmake/libbsoncxx-3.1.1/libbsoncxx-config.cmake usr/lib/cmake/libmongocxx-3.1.1/ usr/lib/cmake/libmongocxx-3.1.1/libmongocxx-config-version.cmake usr/lib/cmake/libmongocxx-3.1.1/libmongocxx-config.cmake usr/lib/libbsoncxx.a usr/lib/libbsoncxx.so.3.1.1 usr/lib/libmongocxx.a usr/lib/libmongocxx.so.3.1.1 usr/lib/pkgconfig/ usr/lib/pkgconfig/libbsoncxx.pc usr/lib/pkgconfig/libmongocxx.pc Slackware package /usr/src/slapt-src/libraries/mongo-cxx-driver/mongo-cxx-driver-r3.1.1-i586-1salix15.0.txz created. Installing package mongo-cxx-driver-r3.1.1-i586-1salix15.0... | mongo-cxx-driver (C++ driver for MongoDB) | | mongo-cxx-driver is the official C++ driver for MongoDB. | | If you are writing software in C++ that needs to access databases | managed by MongoDB on just about any platform, then mongo-cxx-driver | is the library you use. It is the standard C++ language binding | for MongoDB. | | | | |