Login  Register

Re: How to turn off the debug mode (-g) for the QuantLib

Posted by Luigi Ballabio on Jan 08, 2007; 2:32pm
URL: http://quantlib.414.s1.nabble.com/How-to-turn-off-the-debug-mode-g-for-the-QuantLib-tp5190p5191.html

On Mon, 2007-01-08 at 09:28 -0500, Guowen Han wrote:
> Is there a way to disable the debug mode (-g) while building QuantLib?

./configure CXXFLAGS='-O2'

(or whatever flags you want---just don't include -g)

Luigi


----------------------------------------

Steinbach's Guideline for Systems Programming:
Never test for an error condition you don't know how to handle.