https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to cqwrteur from comment #0) > Also stdint.h in GCC is not correctly defined without -ffreestanding flag. You can just use -ffreestanding now, and you'll get GCC's own stdint header.