Exception handling?

A student asked me if there is a way to enable support for C++ try-catch exception handling. I have no idea, but I can see it is disabled by default.

Is there a way to enable it, and if so, is there a significant penalty for doing so?


You can find compiler option include the C++ exception for all profiles .json file:

I haven’t try this, but I think you can remove “-fno-exceptions” option to enable C++ exception.

I hope this helps.

1 Like