[libcxx-commits] [libcxx] [libc++] Remove libc++'s own inttypes.h (PR #193716)

Ian Anderson via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 29 09:27:20 PDT 2026


================
@@ -241,14 +241,8 @@ uintmax_t wcstoumax(const wchar_t* restrict nptr, wchar_t** restrict endptr, int
 // [cinttypes.syn]
 #include <__cxx03/cstdint>
 
-#include <inttypes.h>
-
-#ifndef _LIBCPP_INTTYPES_H
----------------
ian-twilightcoder wrote:

Do we want an `#ifdef _LIBCPP_INTTYPES_H` error here like we have in cassert, cfloat, csetjmp, etc etc?

https://github.com/llvm/llvm-project/pull/193716


More information about the libcxx-commits mailing list