Skip to content

Fix compilation for GCC 13.3 (missing cstdint include) #8609

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

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

plumonito
Copy link
Contributor

Related

Closes #8608

What

Add cstdint to define uint64_t.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hi! Thanks for opening this pull request.

Because this is your first time contributing to this repository, make sure you've read our Contributor Guide and Code of Conduct.

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

thanks!

Looks like our Ci doesn't catch this because it runs with an older compiler version
(GCC 12.4.0 according to https://github.com/rerun-io/rerun/actions/runs/12644596148/job/35232455314#step:7:19 whereas the ticket you've opened mentions 13.3.0).
Guess we'll have to improve our coverage at some point. Absolutely nuts that the "which include drags in which other include implicitly" still hasn't been standardized on C++.

@Wumpf Wumpf changed the title Include cstdint to define uint64_t Fix compilation for GCC 13.3 (missing cstdint include) Jan 7, 2025
@Wumpf Wumpf changed the title Fix compilation for GCC 13.3 (missing cstdint include) Fix compilation for GCC 13.3 (missing cstdint include) Jan 7, 2025
@Wumpf Wumpf added 🪳 bug Something isn't working 🌊 C++ API C/C++ API specific include in changelog labels Jan 7, 2025
@Wumpf Wumpf merged commit 0532f6c into rerun-io:main Jan 7, 2025
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🌊 C++ API C/C++ API specific include in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ compile error: missing <cstdint>
2 participants