Boost C++ Libraries: Ticket #10018: boost.log compile SO_UPDATE_CONNECT_CONTEXT: Undeclared identifier https://svn.boost.org/trac10/ticket/10018 <p> ASIO now uses SO_UPDATE_CONNECT_CONTEXT on windows. </p> <p> This is only defined if _WIN32_WINNT &gt;= 0x0501 </p> <p> Boost.Log uses asio and defaults to defining _WIN32_WINNT to 0x0500 </p> <p> in src/windows_version.hpp </p> <p> The simplest solution is to drop support for Windows 2000 </p> <p> then change that define to 0x0501. (This is what I did in my env to get it to work) </p> <pre class="wiki">using latest github git clone --recursive git@github.com:boostorg/boost.git modular-boost git submodule foreach --recursive git checkout master git submodule foreach --recursive git pull </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10018 Trac 1.4.3 Joseph Southwell <joseph@…> Wed, 07 May 2014 16:46:27 GMT <link>https://svn.boost.org/trac10/ticket/10018#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10018#comment:1</guid> <description> <p> sorry, duplicate of 10016. I couldn't find the email so I thought I was misremembering having done it. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Wed, 07 May 2014 16:48:07 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10018#comment:2 https://svn.boost.org/trac10/ticket/10018#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicates <a class="new ticket" href="https://svn.boost.org/trac10/ticket/10016" title="#10016: Bugs: SO_UPDATE_CONNECT_CONTEXT: Undeclared identifier (new)">#10016</a>. </p> Ticket