Boost logo

Boost :

Subject: Re: [boost] [log] Release Candidate 4 released
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-01-31 08:23:13

On 01/31/2010 04:12 PM, vicente.botet wrote:
> I have tried to compile your library with 1.41. While building the library I get this message
> lib.jam: No such file or directory
> The file file exist in directory tools/build/v2/tools/types/lib.jam
> The same message appear when I build asio/test. Do you know why the file is not found?

Yes, I see this message, too, regardless of the platform. No idea what
it means.

> The build continue, but there are a lot of errors
> First on cygwin-gcc3.4.4

GCC prior to 4.2 are not supported. Also, I did not strive to support
Cygwin or MinGW, so it might need some polishing even with GCC 4.4.

> The same kind of error is found while I build asio/test, so I suppose that ASIO don't works on cygwin. Could the library be built without the syslog_backend?

No, there is no such option currently.

> On MinGW-gcc4.4 I get this error:
> ..\..\../boost/log/detail/universal_path.hpp:53: error: request for member 'string' in 'p', which is of non-class type 'const wchar_t [260]'

Strange, I'll look into it.

> On MSVC Express v9 I get
> compile-c-c++ ..\..\..\bin.v2\libs\log\test\attr_attribute_set.test\msvc-9.0express\debug\threading-multi\run\attr_attribute_set.obj
> ...
> C:\cygwin\boost_1_41_0\boost/test/impl/framework.ipp(485) : warning C4273: 'boost::unit_test::framework::test_unit_aborted' : inconsistent dll linkage
> C:\cygwin\boost_1_41_0\boost/test/framework.hpp(83) : see previous definition of 'test_unit_aborted'
> C:\cygwin\boost_1_41_0\boost/test/impl/exception_safety.ipp(513) : error C2491: 'boost::itest::exception_safety' : definition of dllimport function not allowed
> C:\cygwin\boost_1_41_0\boost/test/impl/execution_monitor.ipp(904) : warning C4535: calling _set_se_translator() requires /EHa
> ...
> C:\cygwin\boost_1_41_0\boost/test/impl/logged_expectations.ipp(228) : error C2491: 'boost::itest::logged_expectations' : definition of dllimport function not allowed
> ...
> C:\cygwin\boost_1_41_0\boost/test/impl/unit_test_main.ipp(175) : error C2491: 'boost::unit_test::unit_test_main' : definition of dllimport function not allowed
> ...
> compile-c-c++ ..\..\..\bin.v2\libs\regex\build\msvc-9.0express\debug\threading-multi\usinstances.obj
> usinstances.cpp
> C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xstring(239) : warning C4506: no definition for inline function 'size_t std::char_traits<_Elem>::length(const _Elem *)'
> with
> [
> _Elem=unsigned short
> ]
> What is wrong?

This looks related to Boost.Test. Not sure I can help with this.

Boost list run by bdawes at, gregod at, cpdaniel at, john at