diff --git a/src/core/model/matrix-array.cc b/src/core/model/matrix-array.cc index 0d8da1961..512d13e65 100644 --- a/src/core/model/matrix-array.cc +++ b/src/core/model/matrix-array.cc @@ -15,9 +15,16 @@ #pragma GCC diagnostic ignored "-Wclass-memaccess" #pragma GCC diagnostic ignored "-Wunused-variable" #endif +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#endif #include +#if defined(__clang__) +#pragma clang diagnostic pop +#endif #if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic pop #endif