[llvm-dev] How to Switch to Static Runtime and Enable C++ Exceptions?

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 28 09:43:13 PDT 2019


It sounds like you probably need to dig into the CMake logic a little bit
and find out where the _HAS_EXCEPTIONS=0 define is coming from.  Not many
people (maybe nobody) uses this configuration, so it's not surprising that
it may have some issues.

On Mon, Oct 28, 2019 at 9:36 AM Osman Zakir <osmanzakir90 at hotmail.com>
wrote:

> I already did that.  CMake still gives me a warning from
> utils/benchmark/CMakeLists.txt saying that using std::regex with exceptions
> disabled isn't fully supported.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191028/842cfbf9/attachment.html>


More information about the llvm-dev mailing list