From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yanchun Zhao To: gcc-help@gcc.gnu.org Subject: Exceptions not caught Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <20000108134133.28014.qmail@web502.mail.yahoo.com> X-SW-Source: 2000-q1/msg00108.html Message-ID: <20000401000000.ZxCHN1tLTM3HmZEwigJD31ketBYkoNpqQqktXTkGPrQ@z> Hi, We have a project originally on NT and we want to port it to Linux. The project is written in C++ and uses many exception handles. We compiled it on Redhat 6.1 using g++. We found that at run time our program aborted because many execption are not caught. We use try and catch block and use gdb to debug. We found if we throw an exception in the try block, it was not caught in catch block and only caught by the C runtime library and abort our program. We tried to compile it with -fexceptions flag, it still did the same thing. Does anyone know what's wrong here? Do we need some more compiling flags or are there any work around? Thanks for help. Yanchun Zhao __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com