Boost logo

Boost :

Subject: Re: [boost] [Test][Thread] Regression since 9 December?
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2015-01-14 12:10:35

Jürgen Hunold <jhunold <at>> writes:

> Hi Adam,
> Am Mittwoch, 14. Januar 2015, 14:27:26 schrieb Adam Wulkiewicz:
> > Hi Raffi,
> > I saw that you tried to "fix" the issue in the latest commits to Test
> > but it didn't help. It's still required to link against Timer or Test,
> > see e.g. the failing Atomic tests vs the Geometry tests.
> I've pushed a fix in

Many thanks for helping fixing the mess.

> This automatically pull in the dependency on Boost.Timer. This also works
> the master version of Boost.Test, it can be merged to master before
> gets updated.
> > So currently the usage of header-only version of Test probably has
> > little sense.
> It still requieres linking against Boost.Timer. The correct solution would be
> to implement an optional header-only version of Boost.Timer.

+1 Initially I thought this was a header only library which also made us
move from the old to the new API.

> Yours,
> Jürgen

Thank you Jürgen!
Please also note that there is a clash in the new and old timer API:

It is impossible to use the old and new API at the same time, as there is a
namespace in the old API and a class in the new API with the same name.
In boost.test we chose to use the new one and drop support for the old one.
This was of course before we discovered that so many problem raised.

I made the changes in boost.geometry, I am preparing a pull request for
addressing these issues. Some other libraries also suffer from this apparently:
- asio: looks like linking at the same time to shared and static version of
system, might be generated by the changes in boost.test (I have to look further)
- atomic: link missing
- circular_buffer: link missing
- lockfree: same as asio
- numeric/ublas: link missing
- pool: maybe the same as asio
- tr1 : unclear what is happening here
- regex: link missing
- random: link missing

The problems seen on geometry/extension do not seem to be produced by the
changes in boost.test:

BTW, it is hard to see the problems created by a range of commits. How to
proceed? For instance, there are problems in boost.icl
and I do not know if they were provoked by the changes in boost.test.

Tests in geometry/test/robustness/overlay/linear_areal do not compile on my
Also there is an indirect inclusion of boost.timer from

which produces a clash in the use of boost.timer.

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