Re: Does Anyone Compile Aspell with -DNDEBUG?
Kevin Atkinson <[email protected]> Sun, 1 Jun 2008 15:55:55 -0600 (MDT)
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 1 Jun 2008, Peter Kümmel wrote: > Peter Kümmel wrote: >> Peter Kümmel wrote: >>> Kevin Atkinson wrote: >>>> >>>> So are you saying in order not to link with the release runtime libraries >>>> NDEBUG can not be defined. This in my option is extremely stupid. >>> >>> I assume "NDEBUG can not be undefined and _DEBUG defined instead". >>> >>> Yes, only if we provide a dummy lib which provides the missing >>> debug functions (here with lyx it is only one) >> >> Tried it, but lyx still crashes. > > It still links against both runtime libraries. All the stl debug code > is a the debug runtime lib. Therefore I think we could not use _DEBUG > with msvc in release mode. > >> Maybe because of a LyX bug, then this is >> a good example for your "#undef NDEBUG" idea, or the reason is still the >> mixing of release runtime libs and _DEBUG. >> Will investigate it further. Just to be 100% clear in order to link with the release libraries NDEBUG must be defined? _______________________________________________ Aspell-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-devel