mirror of
https://github.com/ziglang/zig.git
synced 2025-12-26 16:13:07 +00:00
Pointer subtraction on `void *` or function pointers is UB by the C spec, but is permitted by GCC and Clang as an extension. So, avoid crashing translate-c in such cases, and follow the extension behavior -- there's nothing else that could really be intended.