[cfe-dev] Question on exception handling

Gao, Yunzhong yunzhong_gao at playstation.sony.com
Wed Oct 2 18:25:07 PDT 2013


Hi fellow clangers,
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)?
I tried with -fno-exceptions, but got an error saying,
error: cannot use 'try' with exceptions disabled.
Many thanks,
- Gao.




More information about the cfe-dev mailing list