mirror of
https://github.com/boostorg/date_time.git
synced 2026-02-01 08:22:19 +00:00
MSVC 19.28.29336.0 throws the following warning when boost::date_time::gregorian_date is called. warning C4365: 'initializing': conversion from 'int' to 'unsigned long', signed/unsigned mismatch warning C4365: const boost::posix_time::ptime Since1970(boost::gregorian::date(1970U, 1U, 1U)); warning C4365: ^ <path>\include\boost\date_time\date.hpp(72,35): message : while evaluating constexpr function 'boost::date_time::gregorian_calendar_base<boost::gregorian::greg_year_month_day,unsigned int>::day_number' <path>\include\boost\date_time\date.hpp(72,35): message : : days_(calendar::day_number(ymd_type(y, m, d))) Co-authored-by: timmaraju <keerthi.timmaraju@teamviewer.com>