X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=GVAYe62I4iwdrHHW gs10cKMS2Nd72ZKeMarSKlhgz/Zbj3ICuWJ7MAcVfvjd/TpzAgDLn/uHQ5gtFILy Hxbwr6pTMXA/ej9D2ME6hjaVdHQMKlX9yfVBx6muCUi+WfuJGGIQD7CwIFlzx1xT tiJZH9Saw5g3WmXbbLbcTn3JP4M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=dj9uyIecu95LaeJ12jtnjz IdoLA=; b=Ns9b3481G6Zj9ozOOmRBCjyEm7m7uj9DkZpWuMT0owebTZQ5lOUfLv kMnQZ3INlFzqg2+G247y5AIS1nq4/FAUk6cjiBVkRk1uBHRs8OoDqQXag+bleArY SLIA0lzuMc0oZuZ3BjFInhpO0ECZkvNP1nN5KzocYpT2mvNQkZ4To= 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy= X-HELO: smtp-out-no.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: [BUG] try..catch does not work if compiled with clang 8.0 To: cygwin AT cygwin DOT com References: <000701d5b4bd$42c086f0$c84194d0$@samsung.com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: Date: Tue, 17 Dec 2019 09:29:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <000701d5b4bd$42c086f0$c84194d0$@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2019-12-17 02:35, Pavel Fedin wrote: > I haven't upgraded for a while and today i finally decided to do so. After > rebuilding by project with clang++ 8.0 i found out that try...catch construct > doesn't work. The program just gets silently aborted. > Switched back to old clang++ 5.0 and it works. > Also an old bug which i reported some (a while) time ago persists: uncaught > throw does not print anything. > OS is Windows 10 x86/64. It is unlikely that try/catch does not work in the general case for clang++8, and your post has insufficient information to reproduce the problem. Please post a simple test case with the minimal source code required to demonstrate the error on clang++8, and check that it does not also occur with clang++5. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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