Skip to content

Add missing stdint includes#160

Merged
wawanbreton merged 1 commit into
Ultimaker:mainfrom
onitake:fix/stdint
Mar 24, 2026
Merged

Add missing stdint includes#160
wawanbreton merged 1 commit into
Ultimaker:mainfrom
onitake:fix/stdint

Conversation

@onitake
Copy link
Copy Markdown
Contributor

@onitake onitake commented Feb 20, 2025

Arcus uses C stdint types in several places, but the source code is missing stdint.h/cstdint includes.
This causes build errors when they aren't pulled in by some other dependency.

Context: This started appearing when the Debian package (an older version, but still affects the current release) was test-built with gcc 15: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097162

I added a #include <cstdint> in all source files where [u]int[nn]_t types are used.

@github-actions github-actions Bot added the PR: Community Contribution 👑 Community Contribution PR's label Feb 20, 2025
@dreua
Copy link
Copy Markdown

dreua commented Apr 28, 2025

We got the same build errors in "production" in Fedora 42. Thanks for the patch!

@wawanbreton
Copy link
Copy Markdown
Contributor

Hey, thanks for the PR, sorry we didn't notice it earlier 😅 but it will definitely help

@wawanbreton wawanbreton merged commit 43d94ca into Ultimaker:main Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Community Contribution 👑 Community Contribution PR's

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants