Comment by leni536
3 years ago
In gcc you can use the -ftrapv or -fwrapv compiler options to get defined signed integer overflow arithmetic.
3 years ago
In gcc you can use the -ftrapv or -fwrapv compiler options to get defined signed integer overflow arithmetic.
These also work on Clang.