[Chandler-dev] Running functional tests with -O

D John Anderson john at osafoundation.org
Tue Jul 3 13:23:36 PDT 2007


On Jul 3, 2007, at 1:03 PM, Heikki Toivonen wrote:

> D John Anderson wrote:
>> I think probably makes sense to also be running release without -O --
>> which I suspect is likely to find more bugs than running release  
>> with -O.
>
> What cases would release without -O catch that debug without -O  
> wouldn't
> catch?

This would catch Chandler bugs that only occurred in the release C++  
libraries.

I have seen problems that the asserts found with the release  
wxWidgets build but not the debug wxWidgets build. I have never seen  
problems where the asserts or __debug__ code had side-effects that  
caused bugs, detected by tests or otherwise.

John



More information about the chandler-dev mailing list