You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
c_import: __builtin_mul_overflow/__builtin_add_overflow translate to undefined __with_builtin_*_overflow_u64 (SDL_size_mul_check_overflow) #1877
Found verifying #1872 (both platforms, main and PR alike). SDL.h's SDL_size_mul_check_overflow / SDL_size_add_check_overflow use clang/gcc __builtin_mul_overflow / __builtin_add_overflow; the translation emits calls to __with_builtin_mul_overflow_u64 / __with_builtin_add_overflow_u64 that nothing defines → "undefined variable". Expected: lower to With's checked-arithmetic builtins (or emit a loud untranslatable omission, never a dangling name).
Activity
c_import/migrate/emit-c: no `-> Unit` on void C fns (#1838); header f…