[RFC][patch] cygwin/singal.h is not compatible with -std=c89 or -std=c99

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Nov 27 16:16:00 GMT 2006

On Mon, Nov 27, 2006 at 04:35:19PM +0100, Corinna Vinschen wrote:
>On Nov 27 10:17, Christopher Faylor wrote:
>> How about the alternative "Don't do that" approach?  I think there are
>> other parts of the header files which won't work with -std=c89.  I've
>> always been coding with the understanding that this is a GNU C environment.
>Well, BSD and Linux are using the more portable approach.  Why should
>Cygwin stand back?

Because the "portable" approach pollutes the namespace and, if we change
this, there are several other places which also need to be changed.

Anonymous unions are a feature of gcc and MSVC.  If we really have to do
this then I would like to adopt the convention of  using __extension__.


More information about the Cygwin-patches mailing list