delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/24/11:26:29

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=hZrATxTayb3qG8ek
APhC9UWbRmYUexflC3VuEsNZr7CQCTYWZpxMCex0m0qr9MPhiw/CicKmVO6acBHB
W3Vg2ho1hS/qNnWslPW04SazBU7apWQOKetWoqtqHUWfJCpqXTGBRSMRrqkWRY8J
F3DX3qR4H5fWaRJopeGByh2XvNM=
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=8stxs5AloRe+TNeeWKpest
HFfJ4=; b=FVP4LGBLtvqF7zcC8aVqUlqksOFlyf/FWT8dzBXeqC1hrJJUvnfqt0
IiUWsFW97Te1tjKI265S0Ha/QigI5prh4vTwPppRHlJAW9uyJKYNs7iL6Gui4Nzc
1SkZLhK5muAgQO1x0CZ4IE27Wesbcc0XGscqskOgiAl2ajzI4TJhk=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mx1.redhat.com
Subject: Re: [Bug] __wait_status_to_int() is expected to be a macro
To: cygwin AT cygwin DOT com
References: <CA+fF77nK6EUSWe_jxnQpEcOBiX-+uTxhh4vwT86swiybMcxB2A AT mail DOT gmail DOT com> <0ec2d4a0-07e7-1c04-4efc-dbd0a21c077e AT t-online DOT de> <636aef6d-c47f-ee0e-52c5-db4976452c18 AT redhat DOT com> <20180612084843 DOT GO7851 AT calimero DOT vinschen DOT de> <95cbcdf4-909a-e7b6-b983-5ca82a25ffab AT redhat DOT com> <f083b061-5a1a-ba85-67b0-4f41ab5b493f AT tiscali DOT co DOT uk> <20180824090632 DOT GY3348 AT calimero DOT vinschen DOT de>
From: Eric Blake <eblake AT redhat DOT com>
Message-ID: <b1b8c9fd-c924-9e1d-0b3b-3629ff1cc86e@redhat.com>
Date: Fri, 24 Aug 2018 10:26:15 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20180824090632.GY3348@calimero.vinschen.de>
X-IsSubscribed: yes

On 08/24/2018 04:06 AM, Corinna Vinschen wrote:

>> Apologies for reviving an old thread, but I ran into the same problem today.
>> Is there any chance we could have a macro-only '__wait_status_to_int' in
>> Cygwin 2.11.0, please?
> 
> Here's the glibc approach:
> 
> https://sourceware.org/git/?p=glibc.git;a=commit;h=b49ab5f4503f36dcbf43f821f817da66b2931fe6
> 
> So glibc/Linux doesn't provide `union wait' at all since 2016.
> 
> I'm inclined to do the same.  Thoughts?

Makes sense to me. It's a non-portable type, and if glibc is no longer 
providing union wait and no one is complaining about their stuff not 
compiling there, then it's hard to argue what Cygwin apps need the type 
to stick around.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

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