Snippets for libzdb 3.6.0 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/aqhaydpb0g05ld41cj6vkc0fn7jcslrh-libzdb-3.6.0.drv.
-
src/exceptions/assert.h:32:20: warning: 'nonnull' argument 'result' compared to NULL [-Wnonnull-compare] 32 | #define assert(e) ((void)((e)||(Exception_throw(&(AssertException), 0, __func__, __FILE__, __LINE__, #e),0))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../zdb/zdbpp.h:432:100: warning: call to non-'constexpr' function 'const char* URL_getProtocol(URL_T)' [-Winvalid-constexpr] 432 | [[nodiscard]] constexpr std::string_view protocol() const noexcept { return URL_getProtocol(t_); } | ~~~~~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:438:120: warning: call to non-'constexpr' function 'const char* URL_getUser(URL_T)' [-Winvalid-constexpr] 438 | [[nodiscard]] constexpr std::optional<std::string_view> user() const noexcept { return _to_optional(URL_getUser(t_)); } | ~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:444:128: warning: call to non-'constexpr' function 'const char* URL_getPassword(URL_T)' [-Winvalid-constexpr] 444 | [[nodiscard]] constexpr std::optional<std::string_view> password() const noexcept { return _to_optional(URL_getPassword(t_)); } | ~~~~~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:450:120: warning: call to non-'constexpr' function 'const char* URL_getHost(URL_T)' [-Winvalid-constexpr] 450 | [[nodiscard]] constexpr std::optional<std::string_view> host() const noexcept { return _to_optional(URL_getHost(t_)); } | ~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:456:79: warning: call to non-'constexpr' function 'int URL_getPort(URL_T)' [-Winvalid-constexpr] 456 | [[nodiscard]] constexpr int port() const noexcept { return URL_getPort(t_); } | ~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:462:120: warning: call to non-'constexpr' function 'const char* URL_getPath(URL_T)' [-Winvalid-constexpr] 462 | [[nodiscard]] constexpr std::optional<std::string_view> path() const noexcept { return _to_optional(URL_getPath(t_)); } | ~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:468:134: warning: call to non-'constexpr' function 'const char* URL_getQueryString(URL_T)' [-Winvalid-constexpr] 468 | [[nodiscard]] constexpr std::optional<std::string_view> queryString() const noexcept { return _to_optional(URL_getQueryString(t_)); } | ~~~~~~~~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:502:97: warning: call to non-'constexpr' function 'const char* URL_toString(URL_T)' [-Winvalid-constexpr] 502 | [[nodiscard]] constexpr std::string_view toString() const noexcept { return URL_toString(t_); } | ~~~~~~~~~~~~^~~~ -
../zdb/zdbpp.h:620:11: warning: 'zdb::ResultSet' has a base 'zdb::{anonymous}::noncopyable' which uses the anonymous namespace [-Wsubobject-linkage] 620 | class ResultSet : private noncopyable { | ^~~~~~~~~ -
../zdb/zdbpp.h:1130:11: warning: 'zdb::PreparedStatement' has a base 'zdb::{anonymous}::noncopyable' which uses the anonymous namespace [-Wsubobject-linkage] 1130 | class PreparedStatement : private noncopyable { | ^~~~~~~~~~~~~~~~~ -
../zdb/zdbpp.h:1383:11: warning: 'zdb::Connection' has a base 'zdb::{anonymous}::noncopyable' which uses the anonymous namespace [-Wsubobject-linkage] 1383 | class Connection : private noncopyable { | ^~~~~~~~~~ -
../zdb/zdbpp.h:1843:11: warning: 'zdb::ConnectionPool' has a base 'zdb::{anonymous}::noncopyable' which uses the anonymous namespace [-Wsubobject-linkage] 1843 | class ConnectionPool : private noncopyable { | ^~~~~~~~~~~~~~