Skip to content

Commit

Permalink
Update msgpack.patch (#314)
Browse files Browse the repository at this point in the history
* Update msgpack.patch

* Update msgpack.patch

* Update msgpack.patch
  • Loading branch information
usafchn authored Apr 18, 2024
1 parent e6cab04 commit 866fbf8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bazel/patches/msgpack.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
diff --git a/include/msgpack/v1/detail/cpp11_zone.hpp b/include/msgpack/v1/detail/cpp11_zone.hpp
index 2586f275..e325ee3b 100644
index 2586f275..8883afe0 100644
--- a/include/msgpack/v1/detail/cpp11_zone.hpp
+++ b/include/msgpack/v1/detail/cpp11_zone.hpp
@@ -20,6 +20,12 @@
@@ -20,6 +20,11 @@
#include <memory>
#include <vector>

+#if (defined __arm__ || defined __aarch64__) && \
+ (defined(linux) || defined(__linux) || defined(__linux__)) && \
+#if (defined(linux) || defined(__linux) || defined(__linux__)) && \
+ (defined(__GNUC__) || defined(__GNUG__))
+// This is a bug of arm linux gcc, suppressing false positives.
+#pragma GCC diagnostic ignored "-Wmismatched-new-delete"
Expand Down

0 comments on commit 866fbf8

Please sign in to comment.