GH-47207: [C++][C++23] Upgrade Arrow to be compatible with C++23 rebase-47318#47415
GH-47207: [C++][C++23] Upgrade Arrow to be compatible with C++23 rebase-47318#47415BwL1289 wants to merge 14 commits intoapache:mainfrom
Conversation
`gandiva::Cache` requires pointer type for value type.
… longer exists in upstream
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
|
@kou bumping this |
|
Could you use |
|
This is rebased. |
|
Could you share the command lines you used? It seems that the rebase target branch was wrong. Anyway, there are many CI failures. We can't accept this change. |
|
Ok, I'm just going to close this then. |
|
FWIW, your comment: #47328 (comment) git fetch https://github.com/apache/arrow pull/47318/head:pr-47318
git rebase pr-47318 |
|
You need to rebase on https://github.com/apache/arrow/tree/main not |
Rationale for this change
Arrow’s C++ codebase currently targets an older C++ standard. Moving to C++23 helps keep the project aligned with modern compiler defaults, enables new language features, and ensures continued compatibility with upcoming compiler versions.
During this upgrade, several forward declaration patterns used in the codebase became invalid under C++23 rules, requiring changes to maintain build correctness.
What changes are included in this PR?
This PR updates code to resolve forward declaration errors triggered by C++23 compliance checks. Specifically, it corrects invalid or outdated forward declarations that are rejected by C++23.
Applies the fixes in:
cpp/src/arrow/acero/asof_join_node.cccpp/src/arrow/filesystem/mockfs.cccpp/src/arrow/flight/types.hAre these changes tested?
Yes.
Are there any user-facing changes?
No.