Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-11-14 02:44:54

Gennadiy Rozental wrote:

> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
> news:ej51e0$mef$
>> Douglas Gregor wrote:
>>> Boost Regression test failures
>>> Report time: 2006-11-11T11:15:24Z
>>> |test|
>>> basic_cstring_test: borland-5.8.2*
>>> boost_check_equal_str: borland-5.6.4 borland-5.8.2*
>>> intel-vc8-win-9.1
>>> msvc-6.5 msvc-7.0 msvc-7.1 msvc-8.0 msvc-8.0
>>> errors_handling_test: borland-5.6.4 borland-5.8.2*
>>> intel-vc8-win-9.1
>>> msvc-6.5 msvc-7.0 msvc-7.1
>>> fixed_mapping_test: borland-5.8.2* msvc-7.1 msvc-8.0
>> The msvc failures are certainly caused by my change to Boost.Test Jamfile
>> that enabled building (and linking to) shared versions.
> What is the error?


(It was undefined reference to main, but now it's something different:

   ..\boost\test\test_tools.hpp(467) : error
    C2491: 'boost::test_tools::tt_detail::equal_impl' : definition of
    dllimport function not allowed

I'm pretty sure you can get the same results yourself by running bjam in
libs/test/test as described below.

>> However, I don't understand this specific failure. The
>> fixed_mapping_test.cpp has the BOOST_TEST_MAIN define, and links fine on
>> Linux.
>> Gennadiy, any chance you can look into that? You should be able to just
>> add
>> using msvc ;
>> to tools/build/v2/user-config.jam and then run
>> bjam --v2 fixed_mapping_test
>> to reproduce this.
> I am getting:
> error: Boost.Jam version 3.1.12 or later required

That's right, you need to build bjam from CVS. Is there anything we can do
to make this error message more obvious?

- Volodya

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