id summary reporter owner description type status milestone component version severity resolution keywords cc 6936 Warning 4244 in posix_time_zone.hpp michael.cowperthwaite@… James E. King, III "The warnings: {{{ C:\Dev\Include\boost/date_time/local_time/posix_time_zone.hpp(433) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data 1> C:\Dev\Include\boost/date_time/local_time/posix_time_zone.hpp(414) : while compiling class template member function 'void boost::local_time::posix_time_zone_base::julian_no_leap(const std::basic_string<_Elem,_Traits,_Ax> &,const std::basic_string<_Elem,_Traits,_Ax> &)' 1> with 1> [ 1> CharT=char, 1> _Elem=char, 1> _Traits=std::char_traits, 1> _Ax=std::allocator 1> ] 1> .\MYFILE.cpp(NN) : see reference to class template instantiation 'boost::local_time::posix_time_zone_base' being compiled 1> with 1> [ 1> CharT=char 1> ] 1>C:\Dev\Include\boost/date_time/local_time/posix_time_zone.hpp(435) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data }}} The line in my code that spawns this: {{{ time_zone_ptr timezone; string tz(""UTC0""); // may be changed //... timezone.reset(new posix_time_zone(tz.c_str())); // warnings from here }}} The warnings occur within body of `julian_no_leap()` at the instantiation of `new partial_date_dst_rule`, specifically, one each for the start_rule and end_rule constructors. MSVC 2008, compiling on and for Windows 7." Bugs closed To Be Determined date_time Boost 1.49.0 Problem worksforme