top | item 12896363 (no title) startling | 9 years ago Undefined behavior is not illegal. The compiler can do anything with undefined behavior, including exactly what the author expected. discuss order hn newest scott_s|9 years ago It is illegal, for any reasonable definition of illegal. See my comment from earlier in the year: https://news.ycombinator.com/item?id=10840497 startling|9 years ago "Illegal" seems stronger to me than "not strictly conforming", I guess (and so does "well-formed", for that matter). But I think we basically agree.
scott_s|9 years ago It is illegal, for any reasonable definition of illegal. See my comment from earlier in the year: https://news.ycombinator.com/item?id=10840497 startling|9 years ago "Illegal" seems stronger to me than "not strictly conforming", I guess (and so does "well-formed", for that matter). But I think we basically agree.
startling|9 years ago "Illegal" seems stronger to me than "not strictly conforming", I guess (and so does "well-formed", for that matter). But I think we basically agree.
scott_s|9 years ago
startling|9 years ago