-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-47207: [C++][C++23] Upgrade Arrow to be compatible with C++23 rebase-47318 #47415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.