[cfe-dev] Custom Tool Against Exception Code

Daniel Dilts via cfe-dev cfe-dev at lists.llvm.org
Tue Dec 1 15:59:23 PST 2015

I have a custom tool that I wrote that has a command-line like:
Tool.exe file.cpp -- --driver-mode=cl -fms-compatibility-version=19 -I(Some
include directories) -D(Some macros)

I have a line in the code I am running my tool against that throws an
exception.  The tool gives an error "cannot use 'throw' with exceptions

As near as I can tell I am not disabling exceptions.  Is there something
that I have to do to enable exceptions and RTTI?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151201/53396e93/attachment.html>

More information about the cfe-dev mailing list