Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-02-01 15:58:11


Gennadiy Rozental wrote:
> These should be marked as expected failures and happily ignored. Boost.Test
> supports this compiler only up to the level required by the boost regression
> tests. No libraries were using DLL version of Boost.Test with this compiler
> before 1.34 and accordingly couldn't expect it to start working.
>
> I've looked on the workaround proposed. It looks more like a hack.
> * You need to switch from object of class that contains shared_ptr on
> shared_ptr to this class - extra level of indirection
> * You need to add clone methods to workaround bug with explicit new
> * You need to add extra level of indication to convert from object to
> pointer
> * You need to add dummy semicolon, just to satisfy this compiler
>
> And all that essentially for nothing - Boost.Test do not intend to support
> DLL build for this compiler. I'd rather keep the code clean.

Thank you for clarification.

There is yet another one. Could you please also comment on its severity?

compile-c-c++
..\..\..\bin.v2\libs\test\test\test_fp_comparisons.test\msvc-6.5\debug\threading-multi\test_fp_comparisons.obj
test_fp_comparisons.cpp
..\..\..\boost/test/unit_test_log.hpp(91) : warning C4275: non
dll-interface class 'boost::unit_test::singleton<class
boost::unit_test::unit_test_log_t>' used as base for dll-interface class
'boost::unit_test::unit_test_log_t'
         ..\..\..\boost/test/unit_test_log.hpp(91) : see declaration of
'unit_test_log_t'
test_fp_comparisons.cpp(141) : error C2780: 'class
boost::_bi::bind_t<R,class boost::_mfi::dm<R,T>,class
boost::_bi::list1<class boost::_bi::value<R> > > __cdecl boost::bind(R
T::*,A1)' : expects 2 arguments - 3 provided
         ..\..\..\boost/bind.hpp(1554) : see declaration of 'bind'
test_fp_comparisons.cpp(141) : error C2780: 'class
boost::_bi::bind_t<R,struct
boost::_mfi::cmf8<R,T,B1,B2,B3,B4,B5,B6,B7,B8>,class
boost::_bi::list9<class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R>,class
boost::_bi::value<R>,class boost::_bi::value<R> > > __cdecl
boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7,B8)
const,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 3 provided
         ..\..\..\boost/bind/bind_mf_cc.hpp(222) : see declaration of 'bind'

....
Lot of similar following.

Obviously this does not currently effect any of the other regressions on
msvc-6.5.

Will you mark them as expected failures, or shall I do it?

one final question though:

Given that we mark a lot of tests as unusable, how reliable is the
regression of the other libraries?

Thank you,
Roland


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