Hi. I'm new in using boost and have a problem. I need shared_mutex function in my project. So I've done
#include "boost/thread/shared_mutex.hpp"
And compiled my project. My MSVC 2005 with "treat warnings as errors" stops compilation because of a warning:
c:\\...\microsec_time_clock.hpp(103) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data
I have no idea, why shared_mutex needs microseconds function (I've read than boost libraries have rather big dependences list), but i can't compile my project. I've googled a bit, found same problem, but no decision.
UPDATE: I'm compiling boost now, but i want to put all sources to my open-source project, including boost.thread.shared_mutex.