On Wed, Feb 22, 2023 at 05:11:36PM +0100, Philippe Mathieu-Daudé wrote:
On 22/2/23 13:05, Michael S. Tsirkin wrote:
On Wed, Feb 22, 2023 at 12:25:20AM +0100, Philippe Mathieu-Daudé wrote:
Since commit 262a69f428 ("osdep.h: Prohibit disabling
assert() in supported builds") 'NDEBUG' can not be defined.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
this exactly says NDEBUG is not allowed. why are you removing this?
The project can not be built with NDEBUG. There is no point in
mentioning it in each individual function.
the reason we mention it is because there are security implications
if we don't.