We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a692c2 commit 7fbca4dCopy full SHA for 7fbca4d
runtime/executor/method.cpp
@@ -748,7 +748,7 @@ Error Method::resolve_operator(
748
if (!op_function.ok()) {
749
ET_LOG(
750
Error,
751
- "Missing operator: [%zd] %s",
+ "Missing operator: [%" ET_PRIssize_t "] %s",
752
static_cast<ssize_t>(op_index),
753
operator_name);
754
return op_function.error();
runtime/platform/compiler.h
@@ -149,8 +149,10 @@
149
// As of G3 RJ-2024.3 toolchain, zu format specifier is not supported for Xtensa
150
#if defined(__XTENSA__)
151
#define ET_PRIsize_t "lu"
152
+#define ET_PRIssize_t "ld"
153
#else
154
#define ET_PRIsize_t "zu"
155
+#define ET_PRIssize_t "zd"
156
#endif
157
158
// Whether the compiler supports GNU statement expressions.
0 commit comments