delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/11/20:05:26

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=WmFiaUaoeyjBeGuF
1ZqZ+Tjqsx5VdMVLziruBv9gGceHbbWW/mbcBG9oTrEZ435OYUP2TTV5CqbdGROe
Ver+EI/c9dttv6u2NcsdMTkQW9RxIn0ndXEl9Ddej7cAys0EpQ0kfJEWjokcV9QE
dEMoK9Hjk8CqKJ+MFRbCtqxUiXk=
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=iQA6o2eKPOttMhFfyHFtus
W8KaU=; b=S12hl8XlhD/rBWHP5CmCyP2v5E1x/UjqzeEP3+GPeciINfblj5FXBP
C4Xd9sq///cKC1huwgtEhDdtEmvr4nRM8Hbi3x4a2AyiuK725dK+3q+dW6t/XpKV
UDle6y6NHF48uBjJEpGrqif2Z/xmot1RPzPWpo7oxMu0ntwRV2aYE=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, H*MI:sk:2017071, HContent-Transfer-Encoding:8bit
X-HELO: mx1.redhat.com
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BE657C0587F2
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com BE657C0587F2
Subject: Re: Error from signal.h when _POSIX_C_SOURCE == 1
To: cygwin AT cygwin DOT com
References: <20170712000107 DOT GJ17540 AT nullprogram DOT com>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <8d180b98-fa46-8804-2532-028fdcfff47b@cygwin.com>
Date: Tue, 11 Jul 2017 19:05:10 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <20170712000107.GJ17540@nullprogram.com>
X-IsSubscribed: yes

On 2017-07-11 19:01, Christopher Wellons wrote:

>     /usr/include/cygwin/signal.h:328:34: error: unknown type name 
> ‘siginfo_t’
>          void  (*sa_sigaction) ( int, siginfo_t *, void * );
>                                       ^
> 
> Since _POSIX_C_SOURCE < 199309L, siginfo_t isn't defined. However, 
> cygwin/signal.h erroneously uses this type anyway when defining struct 
> sigaction. The sa_sigaction field in struct sigaction must also be 
> guarded by the same feature test macro.

Already fixed in git:

https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=8a508f301cb9fb7e11f7cc2e3be7ffd42e64c25f

-- 
Yaakov

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