This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can't catch any throw on gcc 3.0.4
- From: "Joe Hughes" <jhughesjr at comcast dot net>
- To: "Tan-Long Phan" <longp at cae dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 1 Feb 2005 15:39:10 -0500
- Subject: Re: Can't catch any throw on gcc 3.0.4
- References: <719A38AB7279D511B91900D0B7444A9E0FAF7381@caemsx03.cae.ca>
try -fexceptions when compiling your application.
Tan-Long Phan wrote on 2/1/2005, 3:29 PM:
> Hi
>
> I'm writing an application on Linux 7.3 using gcc 3.0.4 and having a
> little
> problem with the exception handling. It works fine with MSVC. The
> stack was:
>
> Program received signal SIGABRT, Aborted.
> 0x42029331 in kill () from /lib/i686/libc.so.6
> (gdb) where
> #0 0x42029331 in kill () from /lib/i686/libc.so.6
> #1 0x4202911a in raise () from /lib/i686/libc.so.6
> #2 0x4202a8c2 in abort () from /lib/i686/libc.so.6
> #3 0x400a0a35 in __cxxabiv1::__terminate(void (*)()) (handler=0x4202a754
> <abort>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
> #4 0x400a0a70 in __cxxabiv1::__unexpected(void (*)())
> (handler=0x400a0a70
> <__cxxabiv1::__unexpected(void (*)())>) at
> ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
> #5 0x400a0a85 in __cxxabiv1::__unexpected(void (*)())
> (handler=0x400a0a50
> <std::terminate()>) at
> ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:63
> #6 0x400a092a in __cxa_call_unexpected (exc_obj=0x81b9730) at
> ../../../../libstdc++-v3/libsupc++/eh_personality.cc:417
> #7 0x40c28aaa in
> com_cae::rti::FM::SlaveFederationManager::throwResponseError()
> (this=0x8188548) at
>
/data/rti/cae/caeRti-1.0.23/mrti/dev/src/FM/CaeRti_SlaveFederationManager.cx
>
> x:68
>
>
> Do you have any idea?
>
> Thanks & Regards
>
> Long
>