This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ‘SIG_SETMASK’ and -std=c99
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 06 Aug 2017 11:44:20 +0200
- Subject: Re: ‘SIG_SETMASK’ and -std=c99
- Authentication-results: sourceware.org; auth=none
- References: <2adce715-b45b-ed1c-567e-68bc826710ec@gmail.com>
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