RE: Can't catch throw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux