Comment on Undefined behavior in C is a reading error (2021)parentComments−loeg2yIn a new language that isn't C, that function shouldn't compile at all (missing return).In a C compiler, inserting a trap (x86 ud2, for example) might be reasonable.
Comments
In a new language that isn't C, that function shouldn't compile at all (missing return).
In a C compiler, inserting a trap (x86 ud2, for example) might be reasonable.