I'm compiling in VS 2010 with boost 1_53. I'm also using boost's threads.
during compilation i'm getting bunch of errors like this
c:\program files (x86)\microsoft visual studio 10.0\vc\include\ctime(18): error C2039: 'clock_t' : is not a member of '`global namespace''
all errors are about ctime
and c_time.hpp
.
i've searched around for the solution but without success.
can anyone, please, help?
here some part of code.
#define BOOST_THREAD_USE_DLL
#include <boost/optional.hpp>
#include <boost/thread.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>