id summary reporter owner description type status milestone component version severity resolution keywords cc 13373 Warning in Boost.Log or Boost.DateTime with VS2017 christof.krueger@… Andrey Semashev "I'm getting the following compiler warning while compiling my code with VS2017 on a Windows 7 machine: {{{ C:\Users\<...>\boost-1_65_1\boost/log/support/date_time.hpp(66): warning C4244: '=': conversion from '__int64' to 'uint32_t', possible loss of data ... C:\Users\<...>\boost-1_65_1\boost/log/support/date_time.hpp(67): warning C4244: '=': conversion from '__int64' to 'uint32_t', possible loss of data C:\Users\<...>\boost-1_65_1\boost/log/support/date_time.hpp(68): warning C4244: '=': conversion from '__int64' to 'uint32_t', possible loss of data }}} I'm using a simple console log (boost::log::add_console_log(std::clog)) wich a formatter created like this: {{{ namespace expr = boost::log::expressions; auto fmtTimeStamp = expr::format_date_time(""TimeStamp"", %Y-%m-%d %H:%M:%S.%f""); boost::log::formatter logFmt = expr::format(""[%1%] [%2%] {%3%} <%4%> %5%"") % fmtTimeStamp % expr::attr(""Severity"") % expr::attr(""ThreadName"").or_default(std::string(""?"")) % expr::attr(""Channel"").or_default(std::string(""?"")) % expr::message; }}} Is there anything I could do about? Or is it something that should be fixed within Boost? I'd like to have warning-free code wherever possible, of course." Bugs closed To Be Determined log Boost 1.65.0 Problem fixed