Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-03-01 07:29:08


>
>BTW, most of the tests are not supposed to be run in release mode because
>assert() gets turned off. Some even forcibly error if you compile them
that
>way, so that will make your error count higher.

Isn't that the wrong way to do things - we can forcibly turn NDEBUG off
with:

#undef NDEBUG
#include <boost/whatever>

And then the tests will run in release mode as well - I can well imagine
running tests in release mode as well as debug mode BTW - we would want to
detect possible optimizer problems (or at least know about them) wouldn't
we?

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk