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 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit 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/