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

concurrencpp build failed with error C2039 #166

Open
Cheney-W opened this issue Jun 7, 2024 · 0 comments
Open

concurrencpp build failed with error C2039 #166

Cheney-W opened this issue Jun 7, 2024 · 0 comments

Comments

@Cheney-W
Copy link

Cheney-W commented Jun 7, 2024

Hello, I'm a member of Microsoft VCPKG, when I built concurrencpp:x64-windows in an internal version of Visual Studio, it failed with following errors:
include\concurrencpp/threads/thread.h(23): error C2039: 'string': is not a member of 'std'

This issue caused by the STL PR: microsoft/STL#4633, and according to the recommendations of the STL developers, the affected files need to include the Standard <string> header.

I have applied this change in vcpkg by microsoft/vcpkg#39160. Since this VS internal version has not been released yet, I am submitting this issue just to inform you.

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