Optimizations and undefined behavior
Posted Jul 21, 2009 19:42 UTC (Tue) by
martinfick (subscriber, #4455)
In reply to:
Optimizations and undefined behavior by BrucePerens
Parent article:
Fun with NULL pointers, part 1
it means "implementation dependent".
which as others have pointed out, is the purpose of undefined in the C spec, which does not mean that it has "No correct cases.", but rather, that you'd better be familiar with the implementation you are using. It makes no sense to say: "Here is a feature not available elsewhere, that we think it valuable, but you should never use it!" does it?
(
Log in to post comments)