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

Avoid using boost::filesystem w/string conversions on Windows #237

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

achow101
Copy link

Converting from wstring to string (or vice versa) with boost::filesystem requires Filesystem to be compiled. However if these conversions are avoided, then boost::filesystem will not be needed by downstream projects.

A project I am working on is trying to remove boost filesystem and we noticed that doing so results in a linker error when cross compiling to windows. The root cause was identified to be that boost process for Windows ends up using some conversion functions which require boost filesystem to be compiled. This patch resolved those issues for us.

@fanquake
Copy link

fanquake commented Aug 5, 2022

@klemens-morgenstern are you interested in merging this change?

Converting from wstring to string (or vice versa) with boost::filesystem
requires Filesystem to be compiled. However if these conversions are
avoided, then boost::filesystem will not be needed by downstream
projects.
@fanquake
Copy link

Can this be closed after #264?

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

Successfully merging this pull request may close these issues.

2 participants