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.



_______________________________________________
Aspell-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to