Boost logo

Boost Testing :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2006-06-24 19:05:40

Reece Dunn wrote:

> There are currently some issues when running:
> bjam --v2 install msvc-7.1 # [1]
> and
> bjam --v2 install msvc-7.1 link=static,shared # [2]
> These were identified in the "[Boost-build] v2
> and toolset="
> discussion on the mailing list.
> Running [1] highlights a problem with Boost.Wave. Since wave
> adds <rtti>off for msvc-7.1, this is causing problems when it
> is pulling in Boost.FileSystem. The <tag> rule is using the
> <rtti>on version of filesystem, not the <rtti>off version, so
> BBv2 ends up trying to create two versions of
> boost_filesystem-vc71-mt-gd-1_35.lib.
> The workaround is to open the following files:
> $(BOOST_ROOT)/tools/wave/build/Jamfile.v2
> $(BOOST_ROOT)/libs/wave/build/Jamfile.v2
> and comment out the line:
> <toolset-msvc:version>7.1:<rtti>off # workaround for
> compiler bug
> in each, however this is not an ideal solution :(!

If you do that, the build will fail because of the mentioned compiler bug.
The only way is to accept to get two different versions of the libraries.
What perhaps needs to be done is to code the rtti settings into the library

Regards Hartmut

Boost-testing list run by mbergal at