Opened 5 years ago

Last modified 5 years ago

#10016 new Bugs

SO_UPDATE_CONNECT_CONTEXT: Undeclared identifier

Reported by: Joseph Southwell <joseph@…> Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

boost log defaults to _WIN32_WINNT 0x0500 in src/windows_version.hpp
asio now uses SO_UPDATE_CONNECT_CONTEXT in detail/impl/socket_ops.ipp
which is not defined before 0x0501
change 
#define _WIN32_WINNT 0x0500 // _WIN32_WINNT_WIN2K
to
#define _WIN32_WINNT 0x0501 // _WIN32_WINNT_WINXP
in src/windows_version.hpp to fix this compile error

Change History (2)

comment:1 Changed 5 years ago by chris_kohlhoff

Component: logasio
Owner: changed from Andrey Semashev to chris_kohlhoff

comment:2 Changed 5 years ago by Andrey Semashev

Is there a plan to fix it before 1.56? If not, I'll have to bump the default version in Boost.Log.

Note: See TracTickets for help on using tickets.