Commit 8c66e08
committed
fix: Fix compilation on macOS with Xcode 13
Xcode 13* introduces a new warning named compound-token-split-by-macro.
One of the ruby headers triggers this warning. We build our extension
with -Werror in CFLAGS, resulting in the issue described here:
https://bugs.ruby-lang.org/issues/17865 .
This doesn't appear to be a bug in the ruby header, so it seems safe to
ignore it until it's fixed. This change keeps -Werror in CFLAGS, and
just disables compound-token-split-by-macro.
* The issue indicates this behavior was actually introduced in clang 12, which
was probably part of Xcode 12.1 parent f0bb5ca commit 8c66e08
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
0 commit comments