Boost logo

Boost :

Subject: Re: [boost] [Test] Regression by using to Boost.Timer v2, Boost.Test is not header-only anymore
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-01-15 15:08:04


On Wed, Jan 14, 2015 at 4:13 PM, Barend Gehrels <barend_at_[hidden]> wrote:
> Hi,
>
> I changed the subject because it is not about Thread only.
>
> So as far as I understand, Boost.Test has moved from Boost.Timer v1 (2001)
> to Boost.Timer v2 (2011). Boost.Timer v2 depends on Boost.Chrono, which
> optionally can be compiled header-only, and on Boost.System. But Boost.Timer
> itself has no option to be compiled header-only (AFAIU). So basically the
> regression is in Boost.Timer, which now requires linking. But because that
> is already introduced in 2011, it cannot be called a sudden regression.
> However, the influence on Boost.Test is quite large.
>
> We use Boost.Test (the header-only option) since 2007 and wish to keep it
> header-only. I know what to do to make it compile (link with Boost.Timer)
> but that is an unwished option for several reasons, so: a regression.

I looked a Boost.Timer, and it seems reasonable to add a header-only option.

If you open a ticket, I'll give it a try. But it will be a week or
two, so a ticket is best.

Thanks,

--Beman


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