Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update msgpack.patch #314

Merged
merged 3 commits into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading