Jeffrey Walton wrote:
> I think this is a valid finding. It will operate one way in release builds
> (-DNDEBUG), and another way in debug builds (no NDEBUG).

No. Like Coverity, you are assuming that 'ASSERT' works like 'assert'.
But it does not. The raison d'ĂȘtre of ASSERT is to work independently
of NDEBUG (and to produce a better diagnostic).
See tests/macros.h line 67.

Bruno




Reply via email to