delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/22/17:15:12

X-Spam-Check-By: sourceware.org
Date: Fri, 23 Jun 2006 09:15:06 +1200
From: Danny Smith <dannysmith AT clear DOT net DOT nz>
Subject: [OT] RE: g++ 3.4.4, mingw32, exceptions and threads
To: Cygwin <cygwin AT cygwin DOT com>
Message-id: <000001c69640$f1264bd0$6a4861cb@anykey>
MIME-version: 1.0
X-Mailer: Microsoft Outlook, Build 10.0.2627
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Karl wrote:

> I am having problems getting exceptions to work properly in 
> the latest release of g++ distributed from cygwin.   I have a
multithreaded
> code which is built using the no-cygwin option.   The code uses
> exceptions in a few places.  Oddly the code is either crashing out
right,
> or the exceptions are being delivered to the wrong thread.   

At the risk of being told not to talk in the grown-up's room:
'g++ -mno-cygwin -mthreads' works for me, using cygwin's distro

Danny


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

- Raw text -


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