3 ms·
> because NULL + 0 is undefined behavior in C. Why? It's 2024. Make it not be? Sure, some older stuff already written might no longer compile and need to be up
by MuffinFlavored 2y ago
> because NULL + 0 is undefined behavior in C.
Why? It's 2024. Make it not be? Sure, some older stuff already written might no longer compile and need to be updated. Put it behind a "newer" standard flag/version or whatever.
Or is it that it can't be caught at compile time and only run time... hmm...
- sophiebits 2y agoThey are making it not be. That’s the whole point of the article.
- deleted 2y ago[deleted]