www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/08/06/10:52:27

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=sk/bXCV2w5jOzjD4
L7NbEFEw0nomKMrfCUaI71PQ4QBYD2KNoDpc0FldM4Sjky+KZTiAl28J5gTDDnm3
YJUJSOdCnfCCyHrgswRsw2cOA3VwN67AMGDlGiUgClHPb/tf7zHPkozw5RWoz9OM
TZwQk5vgqUOLKXU027AMDDw/upc=
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=TOVN5crck3T+dlPaxDZcQh
zJkUY=; b=TuS73W2quFy9iU/Lf03oTKbj/9gxn2DR3/50DNGuIOoXXk+z2pT8ks
E3SsXtuuwktfJFbpXA5Ull3IqgtURF7GvtQgXW5f4oxzWElpNCWKHqk5l1fxnQXG
oLQeWEs1+px0g+/g4Y++K//zaMQlgLgFD46Hpw4C4UQQ5CAKwRhBc=
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=informative, HContent-Transfer-Encoding:8bit
X-HELO: mail-wm0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gyF+SiMmZWyavm14PQG91GVC6mSX4Hjb7J2JlT+iZC8=; b=BoioBzPdjR2jHxtSwGprk7M6k0zTYEUPvBWMHo8nPIN3yokbECLzZvfaRz6Ph2Rd09 qOjvsPP+Yctu1nu7tVNyKkJFEukNbAhHuY+gPrFhr66blV0sfM/dESPDzaLIR5CagQSy owmtEQwq4CHg2IiFO0c3uAm+JERauz6+WTap/IbLTHWELh9FBsG683A2UzE+8D/S2CEJ ItffwJWD/zeGA3gcU4mYJkKo3Rgj5ZDCCCRuYf003XH1kDcPh2Ys023MfgdACv/LRLkS QLT/iPlZMId5RmEwwkWtrZwJe+0NXQHGNT98gdI8hbbTgJcdz2mHiC12Tuio8K5thuxq EnKQ==
X-Gm-Message-State: AHYfb5j9vFioSV/FK8GCQOLnwI7m1u1nBgUEgUOzuhGjAq9P/fjCBVt8 JEXjU6MPHZ/ddqeU
X-Received: by 10.28.68.85 with SMTP id r82mr5010372wma.21.1502031127856; Sun, 06 Aug 2017 07:52:07 -0700 (PDT)
Subject: =?UTF-8?B?UmU6IOKAmFNJR19TRVRNQVNL4oCZIGFuZCAtc3RkPWM5OQ==?=
To: cygwin AT cygwin DOT com
References: <2adce715-b45b-ed1c-567e-68bc826710ec AT gmail DOT com> <87vam16nez DOT fsf AT Rainer DOT invalid>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <77932431-b0cc-0e23-3cb8-0659a5c3307a@gmail.com>
Date: Sun, 6 Aug 2017 16:51:56 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <87vam16nez.fsf@Rainer.invalid>
X-IsSubscribed: yes

On 06/08/2017 11:44, Achim Gratz wrote:
> Marco Atzeri writes:
>> building again hdf5-1.8.18 on latest cygwin I hit
>>
>> error: ‘SIG_SETMASK’ undeclared
>>
>> removing  "-std=c99" from CFLAGS solves the issue.
>
> https://stackoverflow.com/questions/20849917/invalid-signal-processing-library-in-linux

That is not very informative as signal.h is in C99.
http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf

however SIG_SETMASK is not
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html

>
>> As before the "-std=c99" was not causing any problem , it is not clear
>> to me if the current behavior is correct or a side effect of latest
>> cygwin header reshuffle.
>
> The "-std=c*" options are not meant to expose any symbols that are not
> defined in the respective C standard.  You almost always want to use
> "-std=gnu*" instead if you target POSIX-y systems.

formally you are right. However it seems that Cygwin is now
more stringent than Linux where this problem does not arise.


> Regards,
> Achim.

Regards
Marco


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