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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=QwlvzEGpvQsXaa5S5Z+HTA2kl7GFb/vxMaRMXBGcwQu hDtQQ5CnjCH2nOOHRkJnFhRiH/DcnpPs3tS5IuYFZMsqfm5F6hG4QhXzf1IYe6Iq Dpi+wediBkfGBZ6XDzuo1IuWmnH2TL8Tu704xw6Z5GUIuPLlc6XmAV7RWB+iGS0A = 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=JjjaEnAYTYOBi93z+SH9xddUx5U=; b=iqwQr2ijMz/5CU7LT dsjXG6Sr6+AOGTdEuapOfDHzet6PTo3KU0evnb1UBy3cfoUL5l4jB4228ZyuNRrq sk8kpABlEy0PI5i1zfarD2lLlWw2rsMWEv/hBfIw9XFZAFtoOmRgMNm3PnI6tmmf 7FDA/KX4OZ2HHCfSqx0KLbwNy4= 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.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=xtk, Hx-spam-relays-external:ESMTPA X-HELO: vsmx011.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: =?utf-8?Q?=E2=80=98SIG=5FSETMASK=E2=80=99?= and -std=c99 References: <2adce715-b45b-ed1c-567e-68bc826710ec AT gmail DOT com> Date: Sun, 06 Aug 2017 11:44:20 +0200 In-Reply-To: <2adce715-b45b-ed1c-567e-68bc826710ec@gmail.com> (Marco Atzeri's message of "Sun, 6 Aug 2017 11:04:26 +0200") Message-ID: <87vam16nez.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VADE-STATUS: LEGIT Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v769j0Tv014181 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 > 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs -- 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