On 4/10/20 1:06 PM, Alexey Dobriyan wrote: > assert() with NDEBUG doesn't evaluate argument. Thanks, that's exactly why assert/debug calls to statements with side effects is a really bad idea. -- Jens Axboe
On 4/10/20 1:06 PM, Alexey Dobriyan wrote: > assert() with NDEBUG doesn't evaluate argument. Thanks, that's exactly why assert/debug calls to statements with side effects is a really bad idea. -- Jens Axboe