Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-01 09:26:20

----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Friday, March 01, 2002 7:29 AM
Subject: Re: [boost] Building boost.

> >
> >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?

Sure; what I'm describing is tradition from way back. Changing the approach
would require lots of small code changes -- I'm not saying we shouldn't do
it, though.

Boost list run by bdawes at, gregod at, cpdaniel at, john at