[libc-commits] [libc] [libcxx] [libc][libc++] Fix return types of <wchar.h> search functions (PR #242566)
Alexey Samsonov via libc-commits
libc-commits at lists.llvm.org
Sat Nov 14 18:06:14 PST 2026
vonosmas wrote:
> Can we provide the correct overloads in C++ mode in the libc? I'd really like to get away from libc++ having to provide `wchar.h` if possible.
Noted, thank you! I looked into it a bit and agree that it would be beneficial if we provide `extern "C++"` declarations for some of those functions, similar to how a lot of (even much older) versions of glibc do it. We probably need to agree on the design of doing so in the generated headers though.
https://github.com/llvm/llvm-project/pull/242566
More information about the libc-commits
mailing list