Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-08-02 12:43:58


On 2020-07-16 11:51, Andrey Semashev wrote:
> On 2020-07-16 08:33, Marshall Clow via Boost wrote:
>> Boost release 1.74.0 beta 1 is now available at:
>>
>> * There is a compile error in Boost.ASIO when compiling with 32-bit
>> MSVC-14.2 with BOOST_BEAST_NO_TS_EXECUTORS.
>
> As AppVeyor CI ran on the beta tag, I'm also seeing Boost.Log failures
> caused by Boost.ASIO on:
>
> * MinGW 32-bit, gcc 5.3
> * MinGW-w64 32 and 64-bit, gcc 6.3
>
> The error is the same:
>
> In file included from libs\log\src\syslog_backend.cpp:31:0:
> ./boost/asio/io_context.hpp: In copy constructor
> 'boost::asio::io_context::basic_executor_type<Allocator,
> Bits>::basic_executor_type(const
> boost::asio::io_context::basic_executor_type<Allocator, Bits>&)':
> ./boost/asio/io_context.hpp:678:27: error: invalid use of incomplete
> type 'boost::asio::io_context::impl_type {aka class
> boost::asio::detail::win_iocp_io_context}'
>          io_context_->impl_.work_started();
>                            ^
>
> https://ci.appveyor.com/project/Lastique/log/builds/34118064/job/ppt98hv530si1nar?fullLog=true#L970
>
> https://ci.appveyor.com/project/Lastique/log/builds/34118064/job/n0at4fi48a8y4nd5#L856
>
> https://ci.appveyor.com/project/Lastique/log/builds/34118064/job/i4avaoljyp0nm62l?fullLog=true#L1455
>
>
> Note: The error happens regardless of C++ version, you can see it
> multiple times in the build logs.

Status update on this issue:

The problem has been fixed in develop in commit:

https://github.com/boostorg/asio/commit/cb75e92f14b3fd48b2baf54031d824e75c09a324

It has not been merged to master yet, so Boost.Log in master still fails
to build with the above errors.

PS: I reported the problem in this issue:

https://github.com/chriskohlhoff/asio/issues/515


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk