Commit 172396b
committed
Suppress -Wincompatible-pointer-types when needed
LLVM Clang 22+ treats -Wincompatible-pointer-types as an error
by default, which breaks compilation of mini_racer_extension.c
due to the unsigned long vs uint64_t mismatch in the bigint
serialization code.
Add -Wno-incompatible-pointer-types to CFLAGS when the compiler
rejects an unsigned long to uint64_t pointer conversion, as a
workaround until the type mismatch is properly fixed in the
extension source.
Ref: #359
Ref: #3611 parent 7cfa8fd commit 172396b
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
| |||
0 commit comments