Skip to content

fix: add missing <cstdint> include for GCC 13+ compatibility - #11

Merged
scump1 merged 1 commit into
scump1:masterfrom
HaydenA0:fix/cstdint-include
Jun 21, 2026
Merged

fix: add missing <cstdint> include for GCC 13+ compatibility#11
scump1 merged 1 commit into
scump1:masterfrom
HaydenA0:fix/cstdint-include

Conversation

@HaydenA0

Copy link
Copy Markdown
Contributor

GCC 13's libstdc++ no longer transitively includes through headers like , breaking the build with 'uint32_t does not name a type'. I just added the include explicitly.

Tested on GCC 16.1.1, for the Distro I am on (Arch linux).

GCC 13's libstdc++ no longer transitively includes <cstdint> through
headers like <algorithm>, breaking the build with 'uint32_t does not
name a type'. Add the include explicitly.

Tested on GCC 16.1.1 (Arch).

@scump1 scump1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I completely missed that GCC header cleanup. It's definitely better practice to have explicitly included anyway. Appreciate the fix!

@scump1
scump1 merged commit 334ab24 into scump1:master Jun 21, 2026
4 checks passed
@HaydenA0

Copy link
Copy Markdown
Contributor Author

ty for merging :) ! it just didn't compile for me at all that's why

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