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: Can't catch throw


 
Hi

The problem I am having is that I build a shared library and then link
an executable against it.  However if a method in the shared library
throws an exception, the executable linked against it does not catch it,
despite it's use of try/catch blocks for the specified exception class. 
The executable ends up abort()ing, as if there was no try/catch at all.

I try to link my executable with "g++ -shared" then my executable
crashes with Segmentation fault

I'm using Linux Enterprise and gcc3.4.3
Regards

Long


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