Exception handling

Hi all,

I am trying to convert my C++ code to C code.

I got the steps from FAQ from the link below,

http://llvm.org/docs/FAQ.html#translatecxx

But if my code throws an exception, it aborted with a message like below,

terminate called after throwing an instance of 'int'

I tried -enable-correct-eh-support parameter but no different.
Does anybody know how to make exception handling work with the C++ to
C conversion?

Thanks.

Shin

Hi Shin,

I am trying to convert my C++ code to C code.

...

But if my code throws an exception, it aborted with a message like below,

the C backend does not support exception handling, and probably never will.

Ciao, Duncan.