Re: [Boost-bugs] [Boost C++ Libraries] #3606: One potential bug, and lots of warnings in DateTime

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3606: One potential bug, and lots of warnings in DateTime
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-18 12:17:48


#3606: One potential bug, and lots of warnings in DateTime
---------------------------+------------------------------------------------
  Reporter: johnmaddock | Owner: az_sw_dude
      Type: Bugs | Status: new
 Milestone: Boost 1.42.0 | Component: date_time
   Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by pbristow):

 I've just hit this warning too, after writing as little as

   date d(day_clock::local_day());
   std::cout << d << std::endl;

  warning C4244: 'argument' : conversion from 'int' to 'unsigned short',
 possible loss of data

 Since this warning C4244 is normally telling you something that you should
 worry about, I am reluctant to disable it.

 As John Maddock observes, this is not a trivial or purely cosmetic issue,
 but I feel it should be fixed somehow.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3606#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC