3 ms·
The sole intent of NDEBUG in the Standard is to suppress assert(). There's a reasonable argument to be made here that it's poorly named (although I suspect that
by int_19h 4y ago
The sole intent of NDEBUG in the Standard is to suppress assert(). There's a reasonable argument to be made here that it's poorly named (although I suspect that ANSI simply standardized existing practice here, as they did with much of the standard).
- 3836293648 4y agoSurely you mean ISO and not ANSI? Were such ugly hacks already a part of C89?