Boost logo

Boost Testing :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2006-06-14 17:04:43

Joaquín Mª López Muñoz wrote:
> I think if the person maintaining the engine (Bronek?) could perform
> the following, maybe we'd gain some insight about the problem:
> * Select some simple test which is failing due to lib linking and
> bjam it manually. I suggest any_to_ref_test, which looks simple

I tried to build regex library and failed due to --a compiler option. This
option disables some (not all) msvc-derived compiler extensions required to
digest Windows headers. Example error (from bjam output) below:

     "como" --vc7 -c -e5 --no_version --no_prelink_verbose
--display_error_number --long_long --diag_suppress=9,21,161,748,940,962
-DBOOST_COMO_STRICT=1 --no_inlining /Zi /Od -D_WIN32 -D_MT --exceptions
-DBOOST_DISABLE_WIN32 --wchar_t -I"..\bin\boost\libs\regex\test\captures"

"E:\DEVEL\BOOST_RTEST\boost\boost/detail/interlocked.hpp", line 98: error #20:
           identifier "dllimport" is undefined
   extern "C" __declspec(dllimport) long __stdcall InterlockedIncrement( long
volatile * );

 From what I can see, other libraries (filesystem, python, program options,
test) are affected as well. This would explain why linker fails. I will
publish ziped bjam output later, when bjam is finished running in status


Boost-testing list run by mbergal at