delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/01/15:05:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_CX,TW_FC,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
Message-ID: <4F299AF7.5010409@t-online.de>
Date: Wed, 01 Feb 2012 21:05:11 +0100
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: llvm/clang 3.0-1 silently ignores C++ exception handling
References: <4F2835F0 DOT 5050704 AT t-online DOT de> <1328068369 DOT 5448 DOT 6 DOT camel AT YAAKOV04> <4F28D9ED DOT 7040703 AT t-online DOT de> <jgc0cv$q9e$1 AT dough DOT gmane DOT org>
In-Reply-To: <jgc0cv$q9e$1@dough.gmane.org>
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

René Berber wrote:
> On 2/1/2012 12:21 AM, Christian Franke wrote:
>
>> Must be at least somewhat Cygwin specific. Clang on i686 Linux generates
>> exception handling code properly (tested with clang 2.9 on Debian).
> Are you using -fcxx-exeptions ?
>
> I think you have to enable exceptions with that flag, by default their
> handling is disabled.

Adding -fcxx-exceptions has no effect. According to "clang++ -v ..." 
output, -fcxx-exceptions and -fexceptions are enabled by default.

Christian


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