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

add explicit include for <cstdint> to utils.hpp #18

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

gg-yb
Copy link
Contributor

@gg-yb gg-yb commented Jun 12, 2024

Seemingly, our standard library does not have a transitive include for std::uintN_t with the given includes. The standard-conform way to use std::uintN_t (note the namespace!) is to include <cstdint>, the std-embedded version of <stdint.h>. Without this, we weren't able to build, failing on trying to resolve std::uint16_t

We are using
libstdc++ 6.0.32
G++ 13.2.1

Seemingly, our standard library does not have a transitive include for std::uintN_t with the given includes. The standard-conform way to use std::uintN_t (note the namespace!) is to include <cstdint>, the std-embedded version of <stdint.h>.
@deniskovalchuk deniskovalchuk merged commit 4c365e2 into deniskovalchuk:develop Jun 12, 2024
2 of 3 checks passed
@deniskovalchuk
Copy link
Owner

Thanks! This fix is available in v0.5.1.

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