|
Boost : |
Subject: Re: [boost] [1.38.0] [Integer] Library in inconsistent state
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-01-31 15:56:10
On Sat, Jan 31, 2009 at 1:33 PM, Gubenko, Boris <boris.gubenko_at_[hidden]> wrote:
> John Maddock wrote:
>> I'll try and take a look, but it'll be tomorrow at the
>> earliest now.... and
>> then we'll have to wait for the results to cycle and then... etc
>
> I looked at it, before I saw a mail from John. There is only one Boost.Integer test failing on release branch: integer_mask_test.cpp. The failure is linking failure with undefined symbol for main (or _main on some platforms).
>
> Inclusion of <boost/test/minimal.hpp> instead of
>
> #define BOOST_INCLUDE_MAIN
> #include <boost/test/test_tools.hpp>
>
> fixes the problem -- see patch below. Tested on HP-UX with aC++ and GCC.
>
> If it looks like a correct fix, I can commit it to release branch.
Sure. Try it.
> The test is very different in trunk and release branch and trunk does not have this linking problem.
That's a worry. Is that an indication trunk needs to be merged into release?
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk