aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/deps/rpclib/include/rpc/msgpack/object.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/object.hpp b/host/lib/deps/rpclib/include/rpc/msgpack/object.hpp
index 5eef9fa7b..02cd6ff1c 100644
--- a/host/lib/deps/rpclib/include/rpc/msgpack/object.hpp
+++ b/host/lib/deps/rpclib/include/rpc/msgpack/object.hpp
@@ -33,6 +33,14 @@
namespace clmdep_msgpack {
+#if defined(__clang__) || defined(__GNUC__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+# if defined(__GNUC__) && __GNUC__ >= 8
+# pragma GCC diagnostic ignored "-Wclass-memaccess"
+# endif
+#endif
+
/// @cond
MSGPACK_API_VERSION_NAMESPACE(v1) {
/// @endcond
@@ -830,6 +838,10 @@ inline std::ostream& operator<< (std::ostream& s, const clmdep_msgpack::object&
} // MSGPACK_API_VERSION_NAMESPACE(v1)
/// @endcond
+#if defined(__clang__) || defined(__GNUC__)
+# pragma GCC diagnostic pop
+#endif
+
} // namespace clmdep_msgpack
#include "rpc/msgpack/type.hpp"