It turns out that a relatively obscure mistake on my part caused the slew of
errors: I made the boost::thread object's name the exact same as the
function it was to launch. It turns out that on Windows, this was not a
problem, but on OSX it caused a bunch of unhelpful errors, including the one
I mentioned.
On Sat, Nov 7, 2009 at 7:36 PM, tiredashell
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?