Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-05-10 09:49:09


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)'
/usr/include/bits/pthreadtypes.h:87: note: candidates are:
pthread_mutex_t::._10()
/usr/include/bits/pthreadtypes.h:87: note:
pthread_mutex_t::._10(const pthread_mutex_t&)
In file included from ../../../../boost/log/log_impl.hpp:33,
                 from main.cpp:4:
../../../../boost/log/log.hpp: At global scope:
../../../../boost/log/log.hpp:277: error: declaration of `bool
boost::logging::logger_keeper_is_enabled<is_compile_time,
is_enabled>::is_enabled(boost::logging::logger&) const'
../../../../boost/log/log.hpp:276: error: shadows template parm `bool
is_enabled'
../../../../boost/log/log.hpp:277: error: declaration of `bool
boost::logging::logger_keeper_is_enabled<is_compile_time,
is_enabled>::is_enabled(boost::logging::logger&) const'
../../../../boost/log/log.hpp:276: error: shadows template parm `bool
is_enabled'

C


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