Hi Christoph, just one idea concerning your problem ... In the Manula of the MICO Orb I read that there are some compilers (mainly gcc 2.7, gcc 2.8 and egcs) which cannot catch exceptions from shared libs. So which compiler do you use and did you throw the exception from code compiled into a shared lib ? In this case event catch (..) doesn't help. The 'abort' is from my experience the normal reaction on an uncatched exception ... Hermann-Josef On Thu, 9 Aug 2001, Christoph Bugel wrote: > Hi, > > I am having some problems throwing exceptions from my compiled objects and > catching them, outside cint, in my compiled main(). (Abort, core dumped). > Before I start digging into this I just wanted to ask if there are any known > issues with this on Linux? I think I simply did something wrong myself, but > asking never hurts. (and I don't have this problem on solaris and on windows.) > > BTW, On windows, G__STD_EXCEPTION is defined, by default, by the following code > in G__ci.h, so I had to uncomment the #define line, otherwise I could not catch > exceptions by myself, cint would catch them before I could. > > #if defined(G__WIN32) && !defined(G__STD_EXCEPTION) > #define G__STD_EXCEPTION // I commented this line out! > > Thanks, > Christoph >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET