boostorg / boostorg/asio

boost::asio::execution::bad_executor needs an explicit BOOST_ASIO_DECL

Open
#448 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.6k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

When linking with lld (from clang-64 MinGW) on windows, with BOOST_ASIO_DYN_LINK:

ld.lld: error: undefined symbol: vtable for boost::asio::execution::bad_executor

Every other symbol is correct, but since the type `boost::asio::execution::bad_executor` itself is not marked `BOOST_ASIO_DECL`, then the implicit dtor won't be marked as exported.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.