hvdijk wrote:

> This fails to build with Xcode 12:

Ah. There, `<cuchar>` isn't used anyway so we can fix that by leaving out the 
`#include`.

> AFAIK `mbrtoc32()` is just a wrapper around `mbrtowc()` and for `c32rtomb` we 
> could go through `std::wcrtomb`.

In general this doesn't hold so we can't do that unconditionally, but for glibc 
this is true, so for older glibc we could do that.

I'll get a change ready that does both of these.

We've had "LLVM requires C++17 or higher" in the documentation since 2022, but 
we keep finding more cases where this standard C++17 code doesn't work and 
requires workarounds. Do we need to also update the documentation?

https://github.com/llvm/llvm-project/pull/221794
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to