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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=v9DROgiw+PvdtYQC t5GS7NPJQOgmklYEMkRYaZ12eq8zir2le0xnjY1Bt1YjxnmCDdavcXw3asbGxK0O BM4mWT2UgIIeoiROIW2fnrqwBkWrsSkXfU1yb/JsKvuxqMoCiji7ngDYYt6/SPH7 rT669GjV4GmGX8AUgddzmPFTWYY= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=R3rDl0bacpvp9SDYFXwSQM KJaSo=; b=GDBAMCMBe7UE3erjWYyZEZx8g8ANpsVbcD8ZlQUDQH9SbHaXC4I3Yu eDxchvibdWjLs2ONTNwwqDrPOOTfD5Tm+znu6uZQOscrNfENwEMP1jdkgKKXF5wU lcH4JXh9NFNGp1o+AijJyZdQSJp2oKCtZ+lWIlKepfXQOeE1gx9d0= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=Hx-languages-length:693 X-HELO: limerock03.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: Updated: gcc-7.3.0-2 (x86/x86_64) To: cygwin AT cygwin DOT com References: <1268fcb1-715a-0518-cc94-91f452d029fb AT gmail DOT com> From: Ken Brown Message-ID: <4a5c57c0-8233-faec-b109-94ff9e3e1a19@cornell.edu> Date: Wed, 30 May 2018 16:30:23 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 5/30/2018 7:58 AM, JonY wrote: > On 05/29/2018 05:32 PM, Alberto Escrig Vidal wrote: >> This program fails to compile (it also failed with g++-6). >> >> #include >> >> int main() {} >> > > I'm guessing Cygwin does not support the functionality declared in the > headers yet. I think the explanation is simpler. The problem is that the shared_mutex header uses some pthread_rwlock_* functions (if __cplusplus >= 201402L) but the declaration of these in pthread.h is guarded by #if __XSI_VISIBLE >= 500 || __POSIX_VISIBLE >= 200112 I've submitted a patch to fix this: https://cygwin.com/ml/cygwin-patches/2018-q2/msg00018.html Ken -- 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