Skip to content

Add missing header for GCC 15#363

Merged
DichenZhang1 merged 1 commit into
google:mainfrom
dbermond:gcc15-fix
Jul 17, 2025
Merged

Add missing header for GCC 15#363
DichenZhang1 merged 1 commit into
google:mainfrom
dbermond:gcc15-fix

Conversation

@dbermond

Copy link
Copy Markdown
Contributor

The C++ header <cstdint> is explicitly required to be included with GCC 15 and beyond when using fixed width integer types.

For more details, see the guide about porting to GCC 15.

The header '<cstdint>'[1] is explicitly required to be included
with GCC 15 and beyond when using fixed width integer types[2].

For more details, see the guide about porting[3] to GCC 15.

[1] https://en.cppreference.com/w/cpp/header/cstdint.html
[2] https://en.cppreference.com/w/cpp/types/integer.html
[3] https://gcc.gnu.org/gcc-15/porting_to.html#cxx
@DichenZhang1 DichenZhang1 merged commit 5fa99b5 into google:main Jul 17, 2025
20 checks passed
@cmahnke

cmahnke commented Nov 15, 2025

Copy link
Copy Markdown

Since this is required to build on a recent Alpine (and certainly others which ship GCC 15), maybe a backport to a 1.4.1 would be possible?

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.

3 participants