------- Additional Comments From jkj at sco dot com 2005-08-11 09:18 ------- On UnixWare I have a very similar failure. It seems to be -fPIC that's wreaking the havoc. I have an almost identical test case, and it aborts with: terminate called after throwing an instance of 'int' terminate called recursively
This only happens when compiling a2.cpp with -fPIC and producing a .so. If you link the two together, it works fine. This was with 3.4.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18649