exception under g++

Kraus Philipp philipp.kraus@flashpixx.de
Sat Jul 16 10:54:00 GMT 2011


I'm using Cygwin for compiling my C++ sources under Windows. My code is throwing an exception (I know the exception and the position within the code), but under the binary that is compiled under Cygwin I get the message:
terminate called after throwing an instance of [...] terminate called recursively

The same code word under OSX 10.5, 10.6 and Linux x64. The different between the systems are only the versions of the g++:
Cygwin 4.3.4
OSX 4.2.1
Linux 4.5.2

I try to understand in which way I can solve this problem. The code throws the exception and on top / on the main a try-catch block should be catch this exception, but it does not work.
Does anyone have some ideas for this problem? I don't understand why Windows should create other structures than the other systems.

Thanks a lot


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list