delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/16/06:54:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: Kraus Philipp <philipp DOT kraus AT flashpixx DOT de>
Subject: exception under g++
Date: Sat, 16 Jul 2011 12:53:18 +0200
Message-Id: <68B76592-8AB8-4CE6-A75D-5EEB857D500A@flashpixx.de>
To: cygwin AT cygwin DOT com
Mime-Version: 1.0 (Apple Message framework v1084)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p6GAsQ6M005470

Hello,

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

Phil


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019