logoalt Hacker News

mirashiitoday at 12:13 AM1 replyview on HN

> If Microsoft makes a guarantee in their documentation about some behavior of UB C code

But do they? Where?

More likely, you mean that a particular compiler may say "while the standard says this is UB, it is not UB in this compiler". That's something wholly different, because you're no longer invoking UB.


Replies

ux266478today at 1:01 AM

Yes, that is still undefined behavior. Behavior being defined or not is a standards-level distinction, not a compiler one.