Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-10 10:25:53


On 5/10/05, Neal Becker <ndbecker2_at_[hidden]> wrote:

> I am looking at boost log library 1.3. I tried to compile "simple" example
> with gcc-3.4.3 (linux), here's what happens:
>
> g++ -o main main.cpp -I ../../../../
> In file included from ../../../../boost/log/detail/ts.hpp:37,
> from ../../../../boost/log/log_fwd.hpp:34,
> from ../../../../boost/log/log.hpp:36,
> from ../../../../boost/log/log_impl.hpp:33,
> from main.cpp:4:
> ../../../../boost/log/detail/ts_posix.hpp: In constructor
> `boost::logging::threading::mutex::mutex()':
> ../../../../boost/log/detail/ts_posix.hpp:54: error: no matching function
> for call to `pthread_mutex_t::._10(int)'

The fix is to remove the member initializer for m_mutex in
ts_posix.hpp on line 54.

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

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