| delorie.com/archives/browse.cgi | search |
| 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: | <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 |
| 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> <VI1PR0302MB3391D4930689A1B82885F91DA06D0 AT VI1PR0302MB3391 DOT eurprd03 DOT prod DOT outlook DOT com> <d3d36f49-3e11-2f0c-18b7-9b8a102a2f38 AT gmail DOT com> |
| From: | Ken Brown <kbrown AT cornell DOT edu> |
| 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: | <d3d36f49-3e11-2f0c-18b7-9b8a102a2f38@gmail.com> |
| 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 <shared_mutex>
>>
>> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |