[libc-commits] [libc] [libc] Add iswctype and wctype (PR #191178)

Prabhu Rajasekaran via libc-commits libc-commits at lists.llvm.org
Fri Apr 17 11:44:34 PDT 2026


Prabhuk wrote:

> > /b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:586:3: error: unknown type name 'wctype_t'
> > 586 |   wctype_t desc;
> > |   ^
> > /b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:589:23: error: unknown type name 'wctype_t'
> > 589 | LIBC_INLINE constexpr wctype_t WCTYPE_INVALID = 0;
> > |                       ^
> > /b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:590:23: error: unknown type name 'wctype_t'
> > 590 | LIBC_INLINE constexpr wctype_t WCTYPE_ALNUM = 1;
> > |                       ^
> > /b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:591:23: error: unknown type name 'wctype_t'
> > 591 | LIBC_INLINE constexpr wctype_t WCTYPE_ALPHA = 2;
> > |                       ^
> > /b/s/w/ir/x/w/llvm-llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:592:23: error: unknown type name 'wctype_t'
> 
> Hi @Prabhuk, From the line numbers in the error (wctype_utils.h:586+), it seems this build doesn’t include the fix yet.

Sorry my bad. @michaelrj-google's patch did fix the issue. Please ignore my message.

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


More information about the libc-commits mailing list