concurrencpp icon indicating copy to clipboard operation
concurrencpp copied to clipboard

concurrencpp build failed with error C2039

Open Cheney-W opened this issue 1 year ago • 0 comments

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: https://github.com/microsoft/STL/pull/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 https://github.com/microsoft/vcpkg/pull/39160. Since this VS internal version has not been released yet, I am submitting this issue just to inform you.

Cheney-W avatar Jun 07 '24 09:06 Cheney-W