Skip to content

Commit

Permalink
Demote Error via -Wzero-length-array in 3 headers exposed by tt-metal…
Browse files Browse the repository at this point in the history
… uplift (#1146) (#1254)
  • Loading branch information
kmabeeTT authored Nov 14, 2024
1 parent c4b9faa commit 78ace9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtime/include/tt/runtime/detail/ttmetal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions runtime/include/tt/runtime/detail/ttnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions runtime/lib/common/system_desc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 78ace9c

Please sign in to comment.