Repository navigation
Commit fa94dd3
fix(build): guard umul128 __int128 usage with __extension__ for -Wpedantic
The Linux Debug CI job compiles with -Wpedantic -Werror. The unsigned
__int128 declaration and casts in umul128 tripped -Werror=pedantic
("ISO C++ does not support __int128"), breaking the build.
Introduce a local __extension__ typedef and cast through it, matching
the existing __extension__ idiom used for js_int128_t/js_uint128_t, so
the only mention of __int128 is on a line covered by __extension__.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cc049cb commit fa94dd3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7497 | 7497 | | |
7498 | 7498 | | |
7499 | 7499 | | |
7500 | | - | |
| 7500 | + | |
| 7501 | + | |
7501 | 7502 | | |
7502 | 7503 | | |
7503 | 7504 | | |
| |||
0 commit comments