Comment by ndesaulniers
21 days ago
> C compiler is one of the most rigorously specified pieces of software out there
/me Laughs in "unspecified behavior."
21 days ago
> C compiler is one of the most rigorously specified pieces of software out there
/me Laughs in "unspecified behavior."
There's undefined behavior, which is quite well specified. What do you mean by unspecified behavior? Do you have an example?
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3685.pdf
Read section J.1.
Undefined is absolutely clear in the spec.
Unspecified is whatever you want it to mean. I am also laughing, having never heard "unspecified" before.
Unspecified behaviour is defined in the glossary at the start of the spec and the term "unspecified" appears over a hundred times...