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=H3GlCLD5/jX+lsC8 5ukhOqGa8bp2DGtsmZ1dATTUjOjJ8tjWSALuC8b7O8np9ohgM2Xn1l2RDzKD1ggb OAwVJjw/GybgtIGlrVsLv/e5LOQ1foYmr8hwYURboLaZQYsG6ORO/VV7G4LkT2Fa FEr/l4Gm+ZkjmWDjyY8avKMJQVY= 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=gycv2UMPFX4NXciKtxLjDe 8AfpA=; b=jbMCxjrlW1EbJ4g0xES19vjRfId1E5b3/qANs3UAuArV1dPE7q+TV4 czRt4PLqBn9hRehhLJgXR3WjkBgjU5e8cxXIAUW6YY6zHjyG74iRi9TvbblsPFnS CGVWhOxOj18Hr99awcGj4gpzYXOV9S12TwER8uFHibQf+oTxGXbsc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:867, HContent-Transfer-Encoding:8bit X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. 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> <77932431-b0cc-0e23-3cb8-0659a5c3307a AT gmail DOT com> From: Ken Brown Message-ID: <1fc0475c-6551-0897-d122-1214b1d1f8d1@cornell.edu> Date: Sun, 6 Aug 2017 16:43:38 -0400 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 8/6/2017 12:59 PM, Marco Atzeri wrote: > hdf5 seems wrong to use sigsetjmp and C99 but Cygwin seems to > have a consistency issue. I think you're right that Cygwin shouldn't declare or define sigsetjmp under -std=c99. Here's a simple test: $ cat test.c #include int main () { sigjmp_buf env; sigsetjmp (env, 0); } On Cygwin: $ gcc -std=c99 test.c In file included from /usr/include/setjmp.h:10:0, from test.c:1: test.c: In function ‘main’: test.c:7:3: error: ‘SIG_SETMASK’ undeclared (first use in this function) sigsetjmp (env, 0); ^ On Linux: $ gcc -std=c99 test.c test.c: In function ‘main’: test.c:6:3: error: unknown type name ‘sigjmp_buf’ sigjmp_buf env; ^ test.c:7:3: warning: implicit declaration of function ‘sigsetjmp’ [-Wimplicit-function-declaration] sigsetjmp (env, 0); ^ Ken -- 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