Re: [Boost-bugs] [Boost C++ Libraries] #2757: Warning C4244: conversion from 'int' to 'unsigned short' in microsec_time_clock.hpp line 103

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2757: Warning C4244: conversion from 'int' to 'unsigned short' in microsec_time_clock.hpp line 103
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-26 10:58:22


#2757: Warning C4244: conversion from 'int' to 'unsigned short' in
microsec_time_clock.hpp line 103
------------------------------+---------------------------------------------
 Reporter: james@… | Owner: az_sw_dude
     Type: Patches | Status: new
Milestone: Boost 1.39.0 | Component: date_time
  Version: Boost 1.38.0 | Severity: Cosmetic
 Keywords: |
------------------------------+---------------------------------------------
Changes (by gareth.sylvester-bradley@…):

  * type: Bugs => Patches

Comment:

 FWIW, this problem still applies to current release (1.41.0) and trunk.
 The file <boost/date_time/microsec_time_clock.hpp> ends up included in a
 lot of situations, e.g. via Boost.Thread, so I see this warning many many
 many times in my code base.

 I independently reinvented the same patch as the OP. Unfortunately I
 didn't think to check Trac until I had one - any chance of this being
 applied so nobody else has to..?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2757#comment:2>
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:01 UTC