[libcxx-commits] [libcxx] [libc++] Fix wchar.h to work with modules (PR #146630)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 7 20:11:08 PDT 2025


matts1 wrote:

I came up with a simpler solution for this error. It's somewhat hacky, but just defining `_LIBCPP_WCHAR_H_HAS_CONST_OVERLOADS` on all build actions meant that instead of defining it multiple times, it defined it zero times. Since it wasn't used, this was a non-issue.

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


More information about the libcxx-commits mailing list