(no title)
krychu | 2 years ago
The cases of undefined behavior in the C standard are independent of compiler settings or options.
> If C could have a consistent set of rules …
The C language has a well-defined standard, but the presence of undefined behavior is a deliberate aspect of that standard.
throwawaymaths|2 years ago
You can have well defined standards, that are wildly inconsistent. For example, in python, in file A:
In file B: Imagine working in this codebase!