<div dir="ltr">No.  libc++ and the Visual C++ STL use macros to compile exception constructs out when exceptions are disabled.  So far as I know that's the only way to do it.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Oct 2, 2013 at 6:25 PM, Gao, Yunzhong <span dir="ltr"><<a href="mailto:yunzhong_gao@playstation.sony.com" target="_blank">yunzhong_gao@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi fellow clangers,<br>
Is there a way to make clang recognize exception-related syntax (try, throw, catch, etc.), but not generate any codes for that (hence, no landing pad, no FDE or LSDA)?<br>
I tried with -fno-exceptions, but got an error saying,<br>
error: cannot use 'try' with exceptions disabled.<br>
Many thanks,<br>
- Gao.<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>