Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-08-24 Thread Corinna Vinschen
On Aug 24 10:26, Eric Blake wrote: > 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

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-08-24 Thread Eric Blake
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=com

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-08-24 Thread Corinna Vinschen
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: > > > > > >

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-08-23 Thread David Stacey
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-c

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-06-12 Thread Eric Blake
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

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-06-12 Thread Corinna Vinschen
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(s

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-06-08 Thread Eric Blake
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

Re: [Bug] __wait_status_to_int() is expected to be a macro

2018-06-08 Thread Hans-Bernhard Bröker
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

[Bug] __wait_status_to_int() is expected to be a macro

2018-06-08 Thread Denis Nikiforov
Hi I'm trying to compile a very simple program: #include int main() { } And I get the following error: In file included from /usr/include/boost/process/detail/child_decl.hpp:31:0, from /usr/include/boost/process/child.hpp:21, from /usr/include/boost/process/as