Skip to content
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

GH-45096: [C++] Apply a cstdint patch to bundled Thrift for GCC 15 #45097

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

kou
Copy link
Member

@kou kou commented Dec 23, 2024

Rationale for this change

Apache Thrift misses #include <cstdint> for int64_t: apache/thrift#3078
GCC 15 requires it.

What changes are included in this PR?

Apply apache/thrift#3078 only with GCC 15.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Copy link

⚠️ GitHub issue #45096 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good to me. @jonkeane do you want to validate it?

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Dec 23, 2024
Copy link
Member

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, yeah this looks right, adding https://gcc.gnu.org/gcc-15/porting_to.html in case it is helpful for others.

I can pick up trying to add this to CI — @kou do you have thoughts on getting gcc-snapshot installed reliably? I can keep on trying on #44970 but you'll know what I've been missing there.

@jonkeane jonkeane merged commit 76fa19e into apache:main Dec 28, 2024
35 checks passed
@jonkeane jonkeane removed the awaiting merge Awaiting merge label Dec 28, 2024
@kou kou deleted the cpp-thrift-cstdint branch December 28, 2024 21:38
@kou
Copy link
Member Author

kou commented Dec 28, 2024

Thanks for this, yeah this looks right, adding https://gcc.gnu.org/gcc-15/porting_to.html in case it is helpful for others.

Thanks. I didn't notice this page. I've added the information to the Thrift PR.

I can pick up trying to add this to CI — @kou do you have thoughts on getting gcc-snapshot installed reliably? I can keep on trying on #44970 but you'll know what I've been missing there.

I've added some comments to #44970.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants