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

Static linking of boost-thread in MFC-DLL and __pRawDllMain #360

Open
jdx-john opened this issue Oct 21, 2021 · 0 comments
Open

Static linking of boost-thread in MFC-DLL and __pRawDllMain #360

jdx-john opened this issue Oct 21, 2021 · 0 comments

Comments

@jdx-john
Copy link

When we started using vcpkg we found a problem similar to this: https://stackoverflow.com/questions/3466944/upgrade-of-boost-1-35-to-1-43-causes-linker-error-with-prawdllmain-mfc-relate
There is a workaround here: https://svn.boost.org/trac10/ticket/8550

In our case however, we only see errors at run-time, not build-time. So more regressions could be lurking - the issue is boost-thread gets auto-linked by vcpkg even in projects that are not using it.

Another workaround is to change the linkage order but we don't explicitly set boost-thread as a linker dependency and it seems really crude to kludge it in.

So I am asking if anything has changed since 1.52 / 2011 how this can best be addressed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant