Boost C++ Libraries: Ticket #10376: VS2013: new compiler warnings since v1.56.0 https://svn.boost.org/trac10/ticket/10376 <p> There are two new level 3 compiler warnings in asio, when compiling with Visual Studio 2013 x64. </p> <p> 1&gt;D:\source\VS2013\libsrc\boost_1_56_0\boost/asio/detail/impl/socket_ops.ipp(1968): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data </p> <p> 1&gt;D:\source\VS2013\libsrc\boost_1_56_0\boost/asio/detail/impl/socket_ops.ipp(2172): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10376 Trac 1.4.3 lex21@… Mon, 01 Sep 2014 18:28:47 GMT <link>https://svn.boost.org/trac10/ticket/10376#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10376#comment:1</guid> <description> <p> Submitted pull request. See [github.com/boostorg/asio/pull/9] (it will not allow me to use a real link address, because it is flagged as spam). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 13 Oct 2014 20:07:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10376#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10376#comment:2</guid> <description> <p> I have to move to 1.56 because we're moving to VS2013 and libboost-serialization doesn't work without a patch. </p> <p> We have warnings as errors and don't want to turn that off. I also don't want to pollute my code with pragma warning disables. </p> <p> For now, I've casted the size_t to int in the two places this warning was happening in socket_ops.ipp. Hopefully, the next release has a proper fix. </p> </description> <category>Ticket</category> </item> </channel> </rss>