Comment by eru
3 years ago
That's the only way to use C correctly.
Alas, it's nearly impossible for a mere mortal to write any non-trivial C code that doesn't have UB.
3 years ago
That's the only way to use C correctly.
Alas, it's nearly impossible for a mere mortal to write any non-trivial C code that doesn't have UB.
"a+b" for signed integer types potentially invokes undefined behavior (overflow). It's a horrendous situation.