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: C++ program with C shared object?


Hi there,

 I can't claim to have tried anything like, what you are attempting,
and i can offer you little advise. Personally i have rather mixed
feelings about the idea of propagating exceptions through a C
library, someone on the list much more knowledgable, than i, will
hopefully comment on this. The aborted message, you see, could easily
be due to exception propagation problems. I believe, 'Aborted' is the
usual message produced, when abort() is called, which can happen due
to unhandled exceptions or incorrect exception specifications.
 I do not quite understand, why you want to propagate exceptions through
the C library. It ought to be quite a bit easier to make a C++ wrapper
for the library.

Yours sincerely,

Bjorn


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