https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90543
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Neither uintptr_t nor PRIxPTR (nor long long nor uint64_t) is part of C++98, which GCC still requires. I do see existing uses of intptr_t and uintptr_t in gcc/cp/*.c though.