Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7873: C4244 in basic_binary_iprimitive.hpp due to std::size_t and std::streamsize type difference
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-23 07:02:45
#7873: C4244 in basic_binary_iprimitive.hpp due to std::size_t and std::streamsize
type difference
------------------------------------------------+---------------------------
Reporter: Hamp <boost@â¦> | Owner: ramey
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: serialization
Version: Boost 1.50.0 | Severity: Cosmetic
Resolution: fixed | Keywords:
------------------------------------------------+---------------------------
Comment (by yochait@â¦):
An easy "fix" for this if you don't have a fixed version of boost:[[BR]]
Just ignore the warnings in the specific files.
#pragma warning (push) [[BR]]
#pragma warning( disable : 4244 ) [[BR]]
#include <boost/archive/binary_oarchive.hpp> [[BR]]
#include <boost/archive/binary_iarchive.hpp> [[BR]]
#pragma warning (pop) [[BR]]
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7873#comment:3> 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:12 UTC