Boost C++ Libraries: Ticket #10534: 'WSASocketA': Use WSASocketW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS https://svn.boost.org/trac10/ticket/10534 <p> With msvc-12.0 toolset (VS2013 Update 3): </p> <p> boost_1_56_0\boost/asio/detail/impl/socket_ops.ipp(1363): warning C4996: 'WSASocketA': Use WSASocketW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings </p> <p> which leads to build failure if 'treat warnings as errors' option is on. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10534 Trac 1.4.3 kosp51@… Mon, 02 Feb 2015 23:42:11 GMT attachment set https://svn.boost.org/trac10/ticket/10534 https://svn.boost.org/trac10/ticket/10534 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">socket.rar</span> </li> </ul> Ticket nilsgladitz@… Thu, 26 Feb 2015 10:48:41 GMT cc set https://svn.boost.org/trac10/ticket/10534#comment:1 https://svn.boost.org/trac10/ticket/10534#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">nilsgladitz@…</span> added </li> </ul> <p> Additional warnings (in the same scope) related to warning C4996 and _WINSOCK_DEPRECATED_NO_WARNINGS that I see are: </p> <ul><li>'WSAAddressToStringA': Use WSAAddressToStringW() instead... </li><li>'WSAStringToAddressA': Use WSAStringToAddressW() instead... </li><li>'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead... </li><li>'inet_addr': Use inet_pton() or InetPton() instead... </li><li>'inet_addr': Use inet_pton() or InetPton() instead... </li></ul><p> </p> Ticket 736324849@… Sun, 25 Dec 2016 10:09:27 GMT attachment set https://svn.boost.org/trac10/ticket/10534 https://svn.boost.org/trac10/ticket/10534 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">mini.cpp</span> </li> </ul> Ticket anonymous Wed, 09 May 2018 08:27:22 GMT <link>https://svn.boost.org/trac10/ticket/10534#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10534#comment:2</guid> <description> <p> 烦死哒 </p> </description> <category>Ticket</category> </item> </channel> </rss>