mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-20 20:47:49 +08:00
8c228c8eca
In an internal version of Visual Studio, `arrow`, `concurrencpp` and `qtwebengine` install failed with following error: ``` arrow: \cpp\src\arrow/json/object_writer.h(39): error C2039: 'string': is not a member of 'std' concurrencpp: \include\concurrencpp/threads/thread.h(23): error C2039: 'string': is not a member of 'std' qtwebengine: \src\3rdparty\gn\src\gn\escape.h(77): 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 Stephan's suggestion, the affected files need to include the `Standard <string> header`. I have submitted an issue on the qt upstream: https://bugreports.qt.io/browse/QTBUG-126156
13 lines
331 B
Diff
13 lines
331 B
Diff
diff --git a/cpp/src/arrow/json/object_writer.h b/cpp/src/arrow/json/object_writer.h
|
|
index b15b09d..cf1ce62 100644
|
|
--- a/cpp/src/arrow/json/object_writer.h
|
|
+++ b/cpp/src/arrow/json/object_writer.h
|
|
@@ -18,6 +18,7 @@
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
+#include <string>
|
|
#include <string_view>
|
|
|
|
#include "arrow/util/visibility.h"
|