|
Boost-Build : |
Subject: [Boost-build] boost::is_mutex_type<boost::unique_lock<boost::mutex>*>::value' cannot be used as template argument
From: Vivek Katakam (vivek1717_at_[hidden])
Date: 2011-02-05 05:20:02
Hi All,
I am using gcc compiler 3.2.3-34 and the OS is RHEL3-32. I am getting
the following error while compiling boost_1_43_0.
../boost/boost_1_43_0/boost/thread/locks.hpp: In instantiation of
`boost::detail::has_member_try_lock<boost::unique_lock<boost::mutex>*>':
../boost/boost_1_43_0/boost/thread/locks.hpp:86: instantiated from
`boost::is_mutex_type<boost::unique_lock<boost::mutex>*>'
../boost/boost_1_43_0/boost/thread/locks.hpp:1164: instantiated from
`void boost::lock(const MutexType1&, const MutexType2&) [with
MutexType1 = boost::unique_lock<boost::mutex>*, MutexType2 =
boost::unique_lock<boost::mutex>*]'
../boost/boost_1_43_0/boost/thread/future.hpp:422: instantiated from here
../boost/boost_1_43_0/boost/thread/locks.hpp:75: no method `
boost::detail::has_member_try_lock<boost::unique_lock<boost::mutex>*>::
has_member'
../boost/boost_1_43_0/boost/thread/locks.hpp: In instantiation of
`boost::detail::has_member_unlock<boost::unique_lock<boost::mutex>*>':
../boost/boost_1_43_0/boost/thread/locks.hpp:86: instantiated from
`boost::is_mutex_type<boost::unique_lock<boost::mutex>*>'
../boost/boost_1_43_0/boost/thread/locks.hpp:1164: instantiated from
`void boost::lock(const MutexType1&, const MutexType2&) [with
MutexType1 = boost::unique_lock<boost::mutex>*, MutexType2 =
boost::unique_lock<boost::mutex>*]'
../boost/boost_1_43_0/boost/thread/future.hpp:422: instantiated from here
../boost/boost_1_43_0/boost/thread/locks.hpp:59: no method `
boost::detail::has_member_unlock<boost::unique_lock<boost::mutex>*>::
has_member'
../boost/boost_1_43_0/boost/thread/locks.hpp: In instantiation of
`boost::detail::has_member_lock<boost::unique_lock<boost::mutex>*>':
../boost/boost_1_43_0/boost/thread/locks.hpp:86: instantiated from
`boost::is_mutex_type<boost::unique_lock<boost::mutex>*>'
../boost/boost_1_43_0/boost/thread/locks.hpp:1164: instantiated from
`void boost::lock(const MutexType1&, const MutexType2&) [with
MutexType1 = boost::unique_lock<boost::mutex>*, MutexType2 =
boost::unique_lock<boost::mutex>*]'
../boost/boost_1_43_0/boost/thread/future.hpp:422: instantiated from here
../boost/boost_1_43_0/boost/thread/locks.hpp:43: no method `
boost::detail::has_member_lock<boost::unique_lock<boost::mutex>*>::
has_member'
../boost/boost_1_43_0/boost/thread/locks.hpp: In function `void
boost::lock(const MutexType1&, const MutexType2&) [with MutexType1 =
boost::unique_lock<boost::mutex>*, MutexType2 =
boost::unique_lock<boost::mutex>*]':
../boost/boost_1_43_0/boost/thread/future.hpp:422: instantiated from here
../boost/boost_1_43_0/boost/thread/locks.hpp:1164: non-constant `
boost::is_mutex_type<boost::unique_lock<boost::mutex>*>::value'
cannot be used as template argument
Is there any patch already available or where can i get the patch for
this, The OS is RHEL3-32
With Regards,
katakam
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk