aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/deps/flatbuffers
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/deps/flatbuffers')
-rw-r--r--host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h b/host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h
index a1a95f00e..d267274a5 100644
--- a/host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h
+++ b/host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h
@@ -19,6 +19,11 @@
#include "flatbuffers/base.h"
+#if defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-copy"
+#endif
+
#if defined(FLATBUFFERS_NAN_DEFAULTS)
#include <cmath>
#endif
@@ -2610,4 +2615,7 @@ volatile __attribute__((weak)) const char *flatbuffer_version_string =
// clang-format on
+#if defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
#endif // FLATBUFFERS_H_