[Boost-bugs] [Boost C++ Libraries] #8390: type conversion warning in VC11

Subject: [Boost-bugs] [Boost C++ Libraries] #8390: type conversion warning in VC11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-04 11:31:05


#8390: type conversion warning in VC11
------------------------------------+---------------------------------------
 Reporter: pedro.larroy@… | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 +++ b/3rd-party/boost/boost/iostreams/copy.hpp Thu Apr 04 12:53:57 2013
 +0200
 @@ -125,7 +125,14 @@
                             mpl::false_, mpl::false_ )
  {
      typedef typename char_type_of<Source>::type char_type;
 +#ifdef BOOST_WINDOWS_API
 +#pragma warning(push)
 +#pragma warning(disable : 4244)
 +#endif
      detail::basic_buffer<char_type> buf(buffer_size);
 +#ifdef BOOST_WINDOWS_API
 +#pragma warning(pop)
 +#endif

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8390>
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