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
-D__STL_LONG_LONG -DBOOST_REGEX_CONFIG_INFO=1 -DBOOST_REGEX_MATCH_EXTRA=1 --a
-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"
-I"E:\DEVEL\BOOST_RTEST\boost" -I"E:\DEVEL\BOOST_RTEST\boost" -o
"..\bin\boost\libs\regex\test\captures\libboost_regex_extra.lib\como-4_3_3-vc7\debug\threading-multi\c_regex_traits.obj"
"E:\DEVEL\BOOST_RTEST\boost\libs\regex\test\captures\../../src/c_regex_traits.cpp"

"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
directory.

B.


Boost-testing list run by mbergal at meta-comm.com