Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-22 14:41:01


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_suite.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 ***

"bcc32" -j5 -g255 -q -c -P -w -Ve -Vx -a8 -b- -DBOOST_TEST_NO_AUTO_LINK=1 -v
-Od -vi- -tWC -tWR -tWC -WM- -w-8080 -w-8001 -I"..\..\..\bin\boost\libs\test\b
uild" -I"C:\Documents and
ettings\turkanis\Home\Libraries\boost" -o"..\..\..\bin\boost\libs\test\build\li
bboost_unit_test_framework.lib\borland\debug\unit_test_suite.obj" "C:\Documents
and
Settings\turkanis\Home\Libraries\boost\libs\test\build\../src/unit_test_suite.cp
p"

...failed borland-C++-action
..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\borland\debu
g\unit_test_suite.obj...

********** VC 7.0 **********

vc-C++
..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\vc7\debug\th
reading-multi\unit_test_suite.obj unit_test_suite.cpp
C:\Documents and
Settings\turkanis\Home\Libraries\boost\boost\test\impl\unit_test_suite.ipp(83) :
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
        ]

    CALL "C:\PROGRA~1\MICROS~1.NET\VC7\bin\VCVARS32.BAT" >nul
    "C:\PROGRA~1\MICROS~1.NET\VC7\bin\cl" /Zm800 -nologo
EHsc -c -DBOOST_TEST_NO_AUTO_LINK=1 /Z7 /Od /Ob0 /EHsc /GR /MDd /Op
/Zc:forScope
c:wchar_t -I"..\..\..\bin\boost\libs\test\build" -I"C:\Documents and
Settings\turkanis\Home\Libraries\boost" -Fo"..\..\..\bin\boost\libs\test\build
\libboost_unit_test_framework.lib\vc7\debug\threading-multi\unit_test_suite.obj"
  -Tp"C:\Documents and
Settings\turkanis\Home\Libraries\boost\libs\test\build\../src/unit_test_suite.cp
p"

..failed vc-C++
..\..\..\bin\boost\libs\test\build\libboost_unit_test_framework.lib\c7\debug\thr
eading-multi\unit_test_suite.obj...

**************************

Jonathan


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