Skip to content

[C++] Arrow build failed with error C2039 #42027

@Cheney-W

Description

@Cheney-W

Describe the bug, including details regarding any error messages, version, and platform.

Hello, I'm a member of Microsoft VCPKG, when I built arrow:x64-windows in an internal version of Visual Studio, it failed with following errors:
arrow/json/object_writer.h(39): 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.

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions