delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/23/19:14:11

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=RAjekIeGZ50fcm2L
k7IAzG2e3Fv614wJnW/yAxyR74KlDWPY1a9N2IXeGeCWwQwatmJun+QYmoh83RRO
9rLmLwWVtzrwjgyaIpgTcTgZV8TDLYsqidG9jzJ2HqnkFoOKF0EQaqzQxvvh6Nh8
wqHETkZOopk3yXw3LPtcdbcK88Y=
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=YZlYQSUa+1hxULhULRYlVX
9HXsc=; b=ut/Rt9sibcDckzuyT4Fl8A6xagVqBr5pNyY1b2Xa8zfKxKQrYXKXIB
mhzZk2D6JZdXHnYcWWXCUUrhTrTH4Jk79+aIhhfLlhToVsQ23WZ+RLV5A7kFSpjG
M2RCnp9SVtwQpq7FiSLq2A8ZoNBePg+/h6R4lOSpRY9aqz3edUm6Q=
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=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1142, nonconstant, non-constant, HContent-Transfer-Encoding:8bit
X-HELO: smtp-out-3.tiscali.co.uk
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tiscali.co.uk; s=1605; t=1535066033; bh=XMyR+2UNUM8sQZ6KiIEbyDP2vyNM/JkR5sVqY/S+XzY=; h=Subject:To:References:From:Date:In-Reply-To; b=EYCNOiMcJ5je0B40V9RQ8IG0svbFQKpWhheD2Vo9LRK0WgHydKGx+DDo44AcDdLHT L9g9pPMZPwtDzy/wJ6YExmC9meojhSGJZ3fu4p3aRqnVMVyT2VAtJite6T1SS2MSzE 4Ps+HF9neUUREjMKVpr4NffBQivlQqSItE7eA7zk=
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>
From: David Stacey <drstacey AT tiscali DOT co DOT uk>
Message-ID: <f083b061-5a1a-ba85-67b0-4f41ab5b493f@tiscali.co.uk>
Date: Fri, 24 Aug 2018 00:13:46 +0100
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: <95cbcdf4-909a-e7b6-b983-5ca82a25ffab@redhat.com>

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?

Many thanks in advance,

Dave.


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