[1.7] <signal.h> does not compile with -ansi

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Thu Mar 26 08:58:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dave Korn wrote:
>   Should signal.h perhaps wrap the stuff tagged 'CX' and 'RTS' at
> http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html
> in #ifndef __STICT_ANSI__ ?

Actually, it looks like someone already thought about that, but never
enabled it.  There is a commented-out #ifndef __STRICT_ANSI__ which
excludes about half of sys/signal.h.  *UNTESTED* patch attached.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAknLD0oACgkQpiWmPGlmQSNOdACgt94H5NhK+AoIFSIb4ErJ0/sa
RDQAoIJSRl4/wwmhZpR55jew4uKClJo1
=dQPl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-ansi-signal.h.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090326/ae440ef4/attachment.bin>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list