Commit 58b4f26
authored
Third-party: Disable -Werror for flatcc build (pytorch#19049)
### Summary
Apple Clang 21 (Xcode 26) elevates -Wimplicit-int-conversion-on-negation
and -Wunterminated-string-initialization to errors, which breaks the
vendored flatcc build at pprintint.h and grisu3_print.h. The warnings
are benign and the fix belongs upstream in dvidelabs/flatcc; disable
-Werror locally via FLATCC_ALLOW_WERROR=OFF for both the flatcc_ep
external project (host compiler) and the in-tree flatccrt runtime lib.
### Test plan
```
./install_executorch.sh
```
Authored with Claude.1 parent 54f1f28 commit 58b4f26
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
0 commit comments