diff --git a/runtime/include/tt/runtime/detail/ttmetal.h b/runtime/include/tt/runtime/detail/ttmetal.h index 4917daf35..01bb9c86e 100644 --- a/runtime/include/tt/runtime/detail/ttmetal.h +++ b/runtime/include/tt/runtime/detail/ttmetal.h @@ -38,6 +38,7 @@ #pragma clang diagnostic ignored "-Wunused-but-set-variable" #pragma clang diagnostic ignored "-Wlogical-op-parentheses" #pragma clang diagnostic ignored "-Wundefined-inline" +#pragma clang diagnostic ignored "-Wzero-length-array" #define FMT_HEADER_ONLY #include "distributed/mesh_device.hpp" #include "impl/event/event.hpp" diff --git a/runtime/include/tt/runtime/detail/ttnn.h b/runtime/include/tt/runtime/detail/ttnn.h index 823de41a4..c027d0158 100644 --- a/runtime/include/tt/runtime/detail/ttnn.h +++ b/runtime/include/tt/runtime/detail/ttnn.h @@ -42,6 +42,7 @@ #pragma clang diagnostic ignored "-Wc99-extensions" #pragma clang diagnostic ignored "-Wc++11-narrowing" #pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wzero-length-array" #define FMT_HEADER_ONLY #include "distributed/mesh_device.hpp" diff --git a/runtime/lib/common/system_desc.cpp b/runtime/lib/common/system_desc.cpp index 58212a4aa..1c2696582 100644 --- a/runtime/lib/common/system_desc.cpp +++ b/runtime/lib/common/system_desc.cpp @@ -28,6 +28,7 @@ #pragma clang diagnostic ignored "-Wmismatched-tags" #pragma clang diagnostic ignored "-Wunused-function" #pragma clang diagnostic ignored "-Wunused-local-typedef" +#pragma clang diagnostic ignored "-Wzero-length-array" #define FMT_HEADER_ONLY #include "distributed/mesh_device.hpp" #include "host_api.hpp"