This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Aug 24 00:13, David Stacey wrote: > On 12/06/18 12:45, Eric Blake wrote: > > On 06/12/2018 03:48 AM, Corinna Vinschen wrote: > > > On Jun 8 12:43, Eric Blake wrote: > > > > On 06/08/2018 12:26 PM, Hans-Bernhard Bröker wrote: > > > > > Am 08.06.2018 um 17:16 schrieb Denis Nikiforov: > > > > > > /usr/include/boost/process/detail/posix/is_running.hpp:18:1: error: > > > > > > non-constant condition for static assertion > > > > > > static_assert(!WIFEXITED(still_active), "Internal Error"); > > > > > > ^~~~~~~~~~~~~ > > > > > > > > > > > > __wait_status_to_int must be a macros but it's redefined > > > > > > as a function. > > > > > > But, assuming I'm completely off-track above and a macro is really > > > desired: > > > > > > Defining __wait_status_to_int as function is C++-specific. I don't > > > think > > > this is really required. A quick test implies the C macro definition in > > > sys/wait.h is sufficent for C++ as well. > > > > Yes, I think you're right on that front. > > 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? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
Attachment:
signature.asc
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |