This is an automated email from the ASF dual-hosted git repository.
pitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 90a4497e3d GH-50103: [C++] Missing iosfwd include in
cpp/src/arrow/util/string_util.h (#50101)
90a4497e3d is described below
commit 90a4497e3d1ce91e813028795b8635044f13f0fe
Author: Alfredo Tupone <[email protected]>
AuthorDate: Wed Jun 10 17:03:10 2026 +0200
GH-50103: [C++] Missing iosfwd include in cpp/src/arrow/util/string_util.h
(#50101)
`std::ostringstream` requires corresponding header inclusion.
Bug raised while building with gcc-17
https://bugs.gentoo.org/976604
* GitHub Issue: #50103
Authored-by: Alfredo Tupone <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
---
cpp/src/arrow/util/string_util.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/src/arrow/util/string_util.h b/cpp/src/arrow/util/string_util.h
index 3f7803dc92..da9664c4d4 100644
--- a/cpp/src/arrow/util/string_util.h
+++ b/cpp/src/arrow/util/string_util.h
@@ -17,6 +17,7 @@
#pragma once
+#include <iosfwd>
#include <memory>
#include <ostream>
#include <string>