Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7875

Re: exception problem with cygwin - terminate called recursively

From Philipp Kraus <philipp.kraus@flashpixx.de>
Newsgroups comp.lang.c++
Subject Re: exception problem with cygwin - terminate called recursively
Date 2011-07-16 15:56 +0200
Organization 1&1 Internet AG
Message-ID <ivs5ac$c5s$1@online.de> (permalink)
References <ivmv25$e8v$1@online.de> <27226563-9435-441f-a626-08e3ae85f811@glegroupsg2000goo.googlegroups.com>

Show all headers | View raw


On 2011-07-14 18:00:47 +0200, peter koch said:

> Your problem might also be in the compiler flags used for the compiler.

Do you mean -fexceptions for the g++ command?

I'm a little bit closer on the problem context, I have mixed C and C++ 
code in the class that throws the exception. I have tested the code 
with std exceptions and try to catch it with
catch (...), catch (myexception& e) or catch(std::runtime_error e), but 
I cant catch the thrown exception. Is there any information about 
exception handling with mixed code?
I have found some articles that there are problems with mixed code and 
exception handling, but I haven't found a working solution for the 
problem. I try to recompile my sources with the -fexceptions flag, but 
that does not wort. Shoud I compile my C libraries with the flag?

Thanks a lot

Phil

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: exception problem with cygwin - terminate called recursively peter koch <peter.koch.larsen@gmail.com> - 2011-07-14 09:00 -0700
  Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-14 18:11 +0200
  Re: exception problem with cygwin - terminate called recursively Ian Collins <ian-news@hotmail.com> - 2011-07-15 07:36 +1200
  Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-16 15:56 +0200
    Re: exception problem with cygwin - terminate called recursively Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-16 11:04 -0500
      Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-16 19:54 +0200
        Re: exception problem with cygwin - terminate called recursively Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-16 15:26 -0500
          Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-16 23:59 +0200
            Re: exception problem with cygwin - terminate called recursively Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-16 17:39 -0500
              Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-17 01:17 +0200
                Re: exception problem with cygwin - terminate called recursively Paavo Helde <myfirstname@osa.pri.ee> - 2011-07-17 02:30 -0500
                Re: exception problem with cygwin - terminate called recursively Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-07-17 11:18 +0200

csiph-web