Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-01-30 05:38:39

Roland Schwarz wrote:
> 3) Failing test tests:
> This is a DLL issue. In file
> boost/test/test/unit_test_suite_impl.hpp
> the compiler coplains about base class test_unit
> not defined, despite it is. The compiler seems
> to have problems to see this class as defined.
> Something (possibly templated memebers?) are
> prohibiting this when the class is flagged as
> _declspec(dllexport).
> *) Is this a known issue?
> *) Can we safely flag these tests as n/a?
> A comment in libs/test/build/Jamfile.v2
> let me believe so.

This one is truely weird: it looks like an obvious compiler issue to me.

What happens if we add a build requirement to Boost.Test that only static
libraries are supported with msvc-6: something like

johnmaddock_at_[hidden]'s password:
Index: Jamfile.v2
RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile.v2,v
retrieving revision
diff -u -r1.10.2.2 Jamfile.v2
--- Jamfile.v2 10 Nov 2006 19:59:52 -0000
+++ Jamfile.v2 30 Jan 2007 10:03:23 -0000
@@ -11,6 +11,8 @@
                   # Disable Warning about boost::noncopyable not being

+ <toolset>msvc-6.0:<link>static
+ <toolset>msvc-6.5:<link>static
     : usage-requirements

Which seems to be worthwhile applying whatever? Note that it doesn't solve
all the issues though: mearly turns compile-time failures to run-time
failures :-(


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