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 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> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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