Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-02-22 16:35:04


"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
news:cvg1v1$mq1$1_at_sea.gmane.org...
> Hi,
>
> Starting yesterday, unit_test_suite.cpp fails to compile with Borland and
VC71.
> Here are the errors I get (I just ran cvs update):
>
> ********** Borland 5.6.4 **********
>
> borland-C++-action
>
..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\borland\
debu
> g\unit_test_suite.obj c:\documents and
>
settings\turkanis\home\libraries\boost\libs\test\build\../src/unit_test_suit
e.cp
> p:
> Error E2268 C:\CBuilderX\include\stl/_algo.c 432: Call to undefined
function
> 'rand' in function _STL::int __random_number<int>(int)
>
> *** 1 errors in Compile ***

Well? What could I do about that? Is there any workarounds?

> C:\Documents and
>
Settings\turkanis\Home\Libraries\boost\boost\test\impl\unit_test_suite.ipp(8
3) :
> error C2558: class 'boost::unit_test::callback0<R>' : no copy constructor
> available or copy constructor is declared 'explicit'
> with
> [
> R=boost::unit_test::ut_detail::unused
> ]

It does exist actually:

    callback0( callback0 const& rhs ) : m_impl( rhs.m_impl ) {}

This code works for MSVC 6.5 and MSVC 7.1. I do not have 7.0 at the moment?
Could you try to see what could be done? I will try to check it myself, once
I have an access to the compiler.

Gennadiy


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