-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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 missing cstdint
includes for GCC 15
#102022
Conversation
410c59e
to
1823460
Compare
cstdint
includes for GCC 15
@@ -1,6 +1,7 @@ | |||
#ifndef _THORVG_H_ | |||
#define _THORVG_H_ | |||
|
|||
#include <cstdint> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC @mgrudzinska
This seems to be included already in thorvg main
but not in v0.15.x
, would be good if it was included in 0.15.10 or 0.16.0 if such releases are planned.
https://github.com/thorvg/thorvg/blob/v0.15.x/inc/thorvg.h
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ofc, I'll let you know!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akien-mga #include <cstdint>
has been included in v0.15.10, Thanks.
https://github.com/thorvg/thorvg/releases/tag/v0.15.10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks! |
Cherry-picked for |
gcc15 is more strict at the header inclusion, thorvg header should specify it since it reply on it. issue: godotengine/godot#102022 (comment)
For glslang, that fix was already made upstream with KhronosGroup/glslang@e40c14a, but we're still on an older version.
For thorvg, the fix was made in their
main
branch but not in thev0.15.x
branch.I've confirmed that this fixes building Godot on Fedora 42 with GCC 15: https://bugzilla.redhat.com/show_bug.cgi?id=2340256