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: Wed, 4 Jun 2008 01:32:08 -0600 (MDT)

On Wed, 4 Jun 2008, Jose Da Silva wrote:

This DNDEBUG problem is really between -g and -DNDEBUG
so you meant CXX='-g -O2' for debug mode and CXX='-O2' for release mode.

Debugging is very difficult with any optimization turned on. With inline functions it is next to useless. So I meant '-g' for debug mode and '-O2' for release mode.

For traditional C programs (with out a lot of inlining) '-O2 -g' is somewhat useful which is why automake defaults to it, but for C++ it is next to useless.





reply via email to

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