Opened 8 years ago

Last modified 8 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 by chris_kohlhoff, 8 years ago

Component: logasio
Owner: changed from Andrey Semashev to chris_kohlhoff

comment:2 by Andrey Semashev, 8 years ago

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.