← Back to context

Comment by mgaunard

15 hours ago

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).

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

  • C simply has less wording for it because less work has been put into it.

    The same problems exist.