Skip to content

fix: include <cstdint> to resolve uint8_t missing in GCC 15#15

Merged
BLumia merged 1 commit intolinuxdeepin:masterfrom
hillwoodroc:master
Jul 3, 2025
Merged

fix: include <cstdint> to resolve uint8_t missing in GCC 15#15
BLumia merged 1 commit intolinuxdeepin:masterfrom
hillwoodroc:master

Conversation

@hillwoodroc
Copy link
Contributor

GCC 15 has become more strict about implicit type declarations, and no longer allows use of fixed-width integer types like uint8_t without including the appropriate header.

Log: These changes ensure compatibility with GCC 15 and future-proof the code against similar issues in other compilers or build environments.

Refs: https://gcc.gnu.org/gcc-15/porting_to.html

GCC 15 has become more strict about implicit type declarations, and
no longer allows use of fixed-width integer types like uint8_t without
including the appropriate header.

Log: These changes ensure compatibility with GCC 15 and future-proof
the code against similar issues in other compilers or build environments.

Refs: https://gcc.gnu.org/gcc-15/porting_to.html
@justforlxz
Copy link
Member

LGTM

@BLumia BLumia merged commit 1518dd6 into linuxdeepin:master Jul 3, 2025
13 checks passed
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, hillwoodroc, wineee

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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.

5 participants