Boost logo

Boost Users :

Subject: [Boost-users] (no subject)
From: Daniel Estermann (estermad_at_[hidden])
Date: 2017-05-14 15:04:10

Hello everybody,

I am trying to build HPX ( which uses
Boost under Cygwin and I bumped into an incompatibility issue between the
class boost::asio::detail::winsock_init_base and the WinSocket-API exposed
by Cygwin.

The error summary: the types of variable members in winsock_init_base::data
are long (defined in boost/asio/detail/winsock_init.hpp). These variable
are passed to functions _InterlockedIncrement, _InterlockedExchange etc
(called from boost/asio/detail/impl/winsock_init.ipp). But there are no
functions defined in Cygwin (in headers in /usr/include/w32api) expecting a
long parameter.

Here you can see the full gcc output:
I also produced the the preprocessor output which I zipped and uploaded to

Am I overlooking anything or is this really an incompatibility issue?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at