Boost logo

Boost :

Subject: Re: [boost] [Boost.Log] compilation on msvc 2010 fail.
From: Kim Kuen Tang (kuentang_at_[hidden])
Date: 2011-05-02 15:54:35

Hi Andrey,

Am 02.05.2011 09:01, schrieb Andrey Semashev:
> On 05/02/2011 12:39 AM, Kim Kuen Tang wrote:
>> Hi all,
>> i try to compile Boost.Log for msvc 2010. But it somehow fails.
>> Please see the errors below.
> You seem to be trying to compile Boost.Log v1 against Boost.Filesystem
> v3. This won't work. Please use Boost.Log v2 (from SVN trunk).

i did what you said and try to compile boost log from the trunk. But i
still get errors. Please see below:

libs\log\src\light_rw_mutex.cpp(153) : error C2653: 'light_rw_mutex' :
is not a
class or namespace name
libs\log\src\light_rw_mutex.cpp(154) : error C4430: missing type
specifier - int
  assumed. Note: C++ does not support default-int
libs\log\src\light_rw_mutex.cpp(159) : error C2065: 'm_Mutex' :
undeclared ident
libs\log\src\light_rw_mutex.cpp(160) : warning C4508:
t_rw_mutex' : function should return a value; 'void' return type assumed
libs\log\src\light_rw_mutex.cpp(162) : error C2653: 'light_rw_mutex' :
is not a
class or namespace name
libs\log\src\light_rw_mutex.cpp(162) : fatal error C1903: unable to
recover from
  previous error(s); stopping compilation

     call "C:\Program Files (x86)\Microsoft Visual Studio
x86 >nul
cl /Zm800 -nologo

....failed compile-c-c++

Any suggestion?

>> Is the msvc-10.0 compiler supported?
> MSVC 10 should be fine, the problem is not with the compiler.
> _______________________________________________
> Unsubscribe & other changes:

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