Skip to content

Include cstdint to fix GNU/Linux build - #41

Merged
sethrj merged 1 commit into
ORNL-QCI:mainfrom
gt-tinker:bugfix/fix-linux-build
Oct 6, 2025
Merged

sethrj merged 1 commit into
ORNL-QCI:mainfrom
gt-tinker:bugfix/fix-linux-build

Conversation

@ausbin

@ausbin ausbin commented Oct 6, 2025

Copy link
Copy Markdown
Collaborator

This is necessary for building on my machine (Debian 13, gcc 14.2.0).

Without this, I get:

[snip]/qiree/src/qiree/ResultDistribution.hh:67:48: error: ‘std::uint64_t’ has not been declared
   67 | void encode_bit_string(std::string const& key, std::uint64_t& result);
      |                                                ^~~

(Almost too small to be a PR, but starting off small before I send crazier PRs)

This is necessary for building on my machine (Debian 13, gcc 14.2.0).

@sethrj sethrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@sethrj
sethrj merged commit 8664b10 into ORNL-QCI:main Oct 6, 2025
4 checks passed
@ausbin
ausbin deleted the bugfix/fix-linux-build branch October 7, 2025 01:20
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