Boost logo

Boost Users :

Subject: [Boost-users] Compilation error trying to pull in Boost::threads header file
From: Sunil Matta (sunil_at_[hidden])
Date: 2012-09-10 14:04:29


Error compiling a program trying to use Boost::thread. Nothing special on
the offending line, simply an include of thread.hpp

Fedora 17
gcc 4.7
Boost: 1_47_0

/usr/local/lib/Boost/boost_1_
47_0/boost/thread/pthread/thread_data.hpp:36:41: error: use of deleted
function
‘boost::shared_ptr<boost::detail::tss_cleanup_function>::shared_ptr(const
boost::shared_ptr<boost::detail::tss_cleanup_function>&)’

1) Seems like boost is trying to pull in boost:shared_ptr. Shouldnt this be
pulling this from the std namespace now ?
2) Why are the boost libraries in a stage dir ? i.e. boost_1_47_0/*stage/*
lib/libboost_program_options.so.1.47.0
Is this standard now ?

tia,

Sunil



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net