Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boost-asio] Fix duplicate symbols of asio::dummy_return<void> #15513

Merged
merged 3 commits into from
Jan 11, 2021
Merged

[boost-asio] Fix duplicate symbols of asio::dummy_return<void> #15513

merged 3 commits into from
Jan 11, 2021

Conversation

cedral
Copy link
Contributor

@cedral cedral commented Jan 7, 2021

Describe the pull request
The fix already exists (chriskohlhoff/asio#584), but it hasn't been merged yet. Would it be possible to apply a patch to fix this for version 1.75.0? It is very low impact https://gist.github.com/jprochazk/ecb261bb99489a3d0fef03a4ae27c064

  • What does your PR fix? Fixes #
    Build any of the asio coroutine examples with latest MSVC and Boost 1.75.0. It should compile, but linking will fail:
    error LNK2005: "void __cdecl boost::asio::dummy_return<void>(void)" (??$dummy_return@X@asio@boost@@YAXXZ) already defined

  • Which triplets are supported/not supported? Have you updated the CI baseline?
    -windows- is affected, no I haven't.

  • Does your PR follow the maintainer guide?
    I haven't read it.

@ghost
Copy link

ghost commented Jan 7, 2021

CLA assistant check
All CLA requirements met.

@JackBoosY JackBoosY self-assigned this Jan 8, 2021
@JackBoosY
Copy link
Contributor

@cedral Thanks for this PR!
Can you sign CLA first?

Thanks.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support requires:author-response labels Jan 8, 2021
@cedral
Copy link
Contributor Author

cedral commented Jan 8, 2021

Thanks I'll take note of the Port-Version setting for future reference. I am not sure if I am supposed to close this or not so I will leave that to you.

@JackBoosY
Copy link
Contributor

LGTM.

@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Jan 11, 2021
@vicroms vicroms merged commit 56e1606 into microsoft:master Jan 11, 2021
@PhoebeHui PhoebeHui changed the title Fix duplicate symbols of asio::dummy_return<void> [boost-asio] Fix duplicate symbols of asio::dummy_return<void> Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants