This permits using the <locale> header with newlib or picolibc when LIBCXX_ENABLE_WIDE_CHARACTERS=FALSE.
Since D136682 the __support/xlocale headers themselves include the headers they require, respecting the LIBCXX_ENABLE_WIDE_CHARACTERS option.
Differential D136947
[libc++] newlib/xlocale.h: remove redundant includes michaelplatings on Oct 28 2022, 6:33 AM. Authored by
Details
This permits using the <locale> header with newlib or picolibc when LIBCXX_ENABLE_WIDE_CHARACTERS=FALSE. Since D136682 the __support/xlocale headers themselves include the headers they require, respecting the LIBCXX_ENABLE_WIDE_CHARACTERS option.
Diff Detail
Event TimelineComment Actions LGTM if you make sure locally that it builds properly. We don't have a newlib configuration in the CI right now. Comment Actions
@philnik I'd therefore be interested to get your views on https://discourse.llvm.org/t/rfc-testing-of-newlib-picolibc/66509 |