|
From: | Peter Kümmel |
Subject: | Re: [aspell-devel] Does Anyone Compile Aspell with -DNDEBUG? |
Date: | Sun, 01 Jun 2008 12:14:29 +0200 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Kevin Atkinson wrote:
If so stop. Most asserts perform important safety checks and disabling them could lead to data corruption and other nasty things. Also, they should have a negligible effect on performance.
I'm not sure if this is correct, STL checks could be expensive even when optimizing the code. And using _DEBUG to ensure correct code in release mode is not the common way to use the safety checks.
I am going to put a note to this effect in the manual. I may even undefine NDEBUG if it is defined. _______________________________________________ Aspell-devel mailing list address@hidden http://lists.gnu.org/mailman/listinfo/aspell-devel
[Prev in Thread] | Current Thread | [Next in Thread] |