[Boost-bugs] [Boost C++ Libraries] #12951: Warning C4244 generated by packed_oarchive.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #12951: Warning C4244 generated by packed_oarchive.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-05 16:02:20


#12951: Warning C4244 generated by packed_oarchive.hpp
------------------------------+---------------------
 Reporter: l.kiss@… | Owner: troyer
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: msvc warnings |
------------------------------+---------------------
 {{{
 #include <boost/mpi.hpp>
 }}}

 compiled with VC12 results in:

 {{{
 D:\thirdparty\boost\boost_1_63_0\boost/mpi/packed_oarchive.hpp(125) :
 error C4244: 'initializing' : conversion from 'int' to 'const
 int_least16_t', possible loss of data
 D:\thirdparty\boost\boost_1_63_0\boost/mpi/packed_oarchive.hpp(130) :
 error C4244: 'initializing' : conversion from
 'boost::archive::version_type::base_type' to 'const int_least8_t',
 possible loss of data
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12951>
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-04-05 16:07:56 UTC