This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Requirements for throwning C++ exceptions from one shared library to another in gcc 4.1.0?


John Love-Jensen <eljay@adobe.com> writes:

> > By C barrier here, do you mean code compiled as C (i.e. with gcc instead
> > of g++) or would that include an extern "C" function in C++ code (just
> > checking).  
> 
> Compiled with gcc instead of g++, yes.

For what it's worth, you can use the -fexceptions option to permit
throwing exceptions across C code.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]