Subject: [Boost-bugs] [Boost C++ Libraries] #10018: boost.log compile SO_UPDATE_CONNECT_CONTEXT: Undeclared identifier
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-07 16:41:59
#10018: boost.log compile SO_UPDATE_CONNECT_CONTEXT: Undeclared identifier
-----------------------------------------+---------------------
Reporter: Joseph Southwell <joseph@â¦> | Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost Release Branch | Severity: Problem
Keywords: |
-----------------------------------------+---------------------
ASIO now uses SO_UPDATE_CONNECT_CONTEXT on windows.
This is only defined if _WIN32_WINNT >= 0x0501
Boost.Log uses asio and defaults to defining _WIN32_WINNT to 0x0500
in src/windows_version.hpp
The simplest solution is to drop support for Windows 2000
then change that define to 0x0501. (This is what I did in my env to get it
to work)
{{{
using latest github
git clone --recursive git_at_[hidden]:boostorg/boost.git modular-boost
git submodule foreach --recursive git checkout master
git submodule foreach --recursive git pull
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10018> 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:16 UTC