id summary reporter owner description type status milestone component version severity resolution keywords cc 3193 compiler warnings in VC9 kfriddile@… az_sw_dude "I'm not sure whether to submit this under thread or date_time. Including boost/thread.hpp under VC9 with warning level 4 produces the warnings below. Warnings are not allowed on my project, and rather than wrapping every include of boost/thread.hpp with a #pragma directive, I'd rather these warnings just be suppressed in the code that's causing them. 2>C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/date_time/microsec_time_clock.hpp(103) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data 2> C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/date_time/microsec_time_clock.hpp(81) : while compiling class template member function 'boost::posix_time::ptime boost::date_time::microsec_clock::create_time(boost::date_time::microsec_clock::time_converter)' 2> with 2> [ 2> time_type=boost::posix_time::ptime 2> ] 2> C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/thread/thread_time.hpp(20) : see reference to class template instantiation 'boost::date_time::microsec_clock' being compiled 2> with 2> [ 2> time_type=boost::posix_time::ptime 2> ] 2>C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/date_time/microsec_time_clock.hpp(103) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data 2>C:\Documents and Settings\Administrator\My Documents\Development\development\third_party\boost\1_39_0\boost/date_time/microsec_time_clock.hpp(103) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data" Bugs closed Boost 1.40.0 date_time Boost 1.39.0 Problem duplicate