hanickadot / compile-time-regular-expressions

Compile Time Regular Expression in C++
https://twitter.com/hankadusikova
Apache License 2.0
3.22k stars 177 forks source link

support stdlib without support for wchar_t #291

Open burnpanck opened 10 months ago

burnpanck commented 10 months ago

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.