logoalt Hacker News

mgaunardyesterday at 11:57 PM1 replyview on HN

ODR violations are very easy to trigger unless you build the whole thing from source, and are ill-formed, no diagnostic required (worse than UB).


Replies

ueckertoday at 6:26 AM

Neither "ODR violations" nor IFNDR exist in C. Incompatibility across translation units can cause undefined behavior in C, but this can easily be avoided.

show 1 reply