Skip to content

added cstdint header#40

Open
parsanoori wants to merge 1 commit into
stellar:masterfrom
parsanoori:fix/build
Open

added cstdint header#40
parsanoori wants to merge 1 commit into
stellar:masterfrom
parsanoori:fix/build

Conversation

@parsanoori

Copy link
Copy Markdown

The build with modern compilers like clang21 can't be done without explicit declaration of cstdint header on using standard integers such as uint64_t.

Copilot AI review requested due to automatic review settings July 13, 2026 12:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes compilation with newer toolchains (e.g., clang 21) by explicitly including the standard header that declares fixed-width integer types used in the public Snapshot API.

Changes:

  • Add #include <cstdint> to snapshot.h to ensure uint64_t is declared when the header is included standalone.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants