Re: Does Anyone Compile Aspell with -DNDEBUG?
Peter Kümmel <[email protected]> Sun, 01 Jun 2008 12:14:29 +0200
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > http://lists.gnu.org/mailman/listinfo/aspell-devel >