Boost logo

Boost Users :

Subject: [Boost-users] tons of errors because boost::thread::thread() in thread/detail/thread.hpp is private
From: tiredashell (tiredashell_at_[hidden])
Date: 2009-11-07 19:36:35


I am successfully using Boost.Thread on Windows without a hitch, but when
porting my program to OSX I get the following compile error, followed by an
enormous chain of errors that probably are a derivative of it:

./boost/thread/detail/thread.hpp:108: error:
‘boost::thread::thread(boost::thread&)’ is private

When checking the class that it mentioned, it appears that it is in fact
declared as private for some reason. Is there a reason I'm only receiving
this error on OSX, and how can it be fixed?



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