aspell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [aspell-devel] Does Anyone Compile Aspell with -DNDEBUG?


From: Kevin Atkinson
Subject: Re: [aspell-devel] Does Anyone Compile Aspell with -DNDEBUG?
Date: Sun, 1 Jun 2008 15:55:55 -0600 (MDT)

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?
reply via email to

[Prev in Thread] Current Thread [Next in Thread]