Boost logo

Boost :

Subject: [boost] [test] export bug or [graph] test mis-configured?
From: Jim Bell (Jim_at_[hidden])
Date: 2010-10-21 23:58:25


Boost.graph's stoer_wagner_test won't link on mingw32, with multiple
definitions of various unit_test::test_case::... symbols. All symbols
seem to be found in test/impl/unit_test_suite.ipp.

Dynamic libraries for both boost_test_exec_monitor and
boost_unit_test_framework are linked in.

The compile has:
    -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1

So is this graph test's compile or link wrong (but being forgiven on
other platforms), or is test (notably unit_test_suite.ipp) not exporting
symbols as it should (and that's being forgiven on other platforms)?

The same problem (conceptually) is happening on msvc8, though it calls
out more than just unit_test_suite.ipp.


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