Visual Studio 2017's compiler generates multiple conversion warnings from int literals to unsigned short in the implementation of this function
inline unsigned short
month_str_to_ushort(std::string const& s)
warning C4244: 'initializing': conversion from '_Ty' to '_Ty2', possible loss of data
boost_fc31e493\boost\date_time\date_parsing.hpp(99): note: see reference to function template instantiation 'std::pair<const _Kty,_Ty>::pair<const char(&)[4],int,0>(_Other1,_Other2 &&) noexcept(false)' being compiled
[...]
One might just use explicit cast as in the BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX case to resolve that.
Visual Studio 2017's compiler generates multiple conversion warnings from int literals to unsigned short in the implementation of this function
One might just use explicit cast as in the
BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
case to resolve that.