This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [Bug] __wait_status_to_int() is expected to be a macro
- From: Eric Blake <eblake at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Aug 2018 10:26:15 -0500
- Subject: Re: [Bug] __wait_status_to_int() is expected to be a macro
- References: <CA+fF77nK6EUSWe_jxnQpEcOBiX-+uTxhh4vwT86swiybMcxB2A@mail.gmail.com> <0ec2d4a0-07e7-1c04-4efc-dbd0a21c077e@t-online.de> <636aef6d-c47f-ee0e-52c5-db4976452c18@redhat.com> <20180612084843.GO7851@calimero.vinschen.de> <95cbcdf4-909a-e7b6-b983-5ca82a25ffab@redhat.com> <f083b061-5a1a-ba85-67b0-4f41ab5b493f@tiscali.co.uk> <20180824090632.GY3348@calimero.vinschen.de>
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