gcc13 has a bug related with array-bounds checking.
References:
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
Change-Id: Ie4bad81b42c548c5e93fd36c81256ba4d9e2edf4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
constexpr const char CB_BODY_HEADER[] =
R"__c_cb(
+#pragma GCC diagnostic ignored "-Warray-bounds"
+
#include <pthread.h>
#include <stdio.h>
#include <string.h>
constexpr const char CB_BODY_HEADER[] =
R"__c_cb(
+#pragma GCC diagnostic ignored "-Warray-bounds"
+
#include <pthread.h>
#include <stdio.h>
#include <string.h>
<INCLUDE>
)__c_cb";
-#endif // IDLC_C_CION_GEN_C_GEN_BASE_CB_H_
\ No newline at end of file
+#endif // IDLC_C_CION_GEN_C_GEN_BASE_CB_H_