On my embedded environment (https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm), there is no support for wchar_t. This PR adds preprocessor guards excluding code that refers to wide characters and strings. That guard is automatically applied when libc++ is detected and it indicates that itself has been compiled without support for wide characters.
On my embedded environment (https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm), there is no support for
wchar_t
. This PR adds preprocessor guards excluding code that refers to wide characters and strings. That guard is automatically applied whenlibc++
is detected and it indicates that itself has been compiled without support for wide characters.