diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 15:46:23 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:24:28 -0600 |
commit | 681713aaae832af40383abf7538c23e10c1cbc56 (patch) | |
tree | 9d8cb78614ad2156bb5e6440ad748e6e894068ea /host/lib/deps/flatbuffers/include | |
parent | 47623aabb4832d3d217faa1a9938bb7a6e4341c3 (diff) | |
download | uhd-681713aaae832af40383abf7538c23e10c1cbc56.tar.gz uhd-681713aaae832af40383abf7538c23e10c1cbc56.tar.bz2 uhd-681713aaae832af40383abf7538c23e10c1cbc56.zip |
lib: deps: Ignore more warnings in our versions of rpclib, pybind11
This modifies the UHD versions of those libraries to turn off warnings
that appear with Clang.
Diffstat (limited to 'host/lib/deps/flatbuffers/include')
-rw-r--r-- | host/lib/deps/flatbuffers/include/flatbuffers/flatbuffers.h | 8 |
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_ |