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: Peter Kümmel
Subject: Re: [aspell-devel] Does Anyone Compile Aspell with -DNDEBUG?
Date: Sun, 01 Jun 2008 14:26:29 +0200
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

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.





If this is the case, I don't think I can ever officially support Aspell compiled with msvc. At very least I won't be able to accept bug reports for Windows binary built in release mode. I will expand on the reasons latter if necessary.

I'm very interested in your reasons and especially your experience when
not using NDEBUG in release code, because it's new to me.



_______________________________________________
Aspell-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/aspell-devel



--
Peter Kümmel




reply via email to

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