Commit 4862ba5
Executorch ops fail to build on macbook M1 due to bad formatting
Summary:
```
....
executorch/kernels/quantized/cpu/embeddingxb.cpp:140:11: error: format specifies type 'char' but the argument has type 'int32_t' (aka 'int') [-Werror,-Wformat]
i,
^~
executorch/runtime/platform/assert.h:39:59: note: expanded from macro 'ET_CHECK_MSG'
ET_ASSERT_MESSAGE_EMIT(" (%s): " _format, #_cond, ##__VA_ARGS__); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
executorch/runtime/platform/assert.h:26:9: note: expanded from macro 'ET_ASSERT_MESSAGE_EMIT'
##__VA_ARGS__)
~~^~~~~~~~~~~~
executorch/runtime/platform/log.h:172:13: note: expanded from macro 'ET_LOG'
##__VA_ARGS__); \
^~~~~~~~~~~
1 warning and 1 error generated.
```
Reviewed By: dongpujin, manuelcandales
Differential Revision: D651565731 parent f813b6a commit 4862ba5
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments