www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 26 Mar 2009 11:47:21 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] <signal.h> does not compile with -ansi |
Message-ID: | <20090326104721.GK12738@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <49CAFB8B DOT 7090909 AT users DOT sourceforge DOT net> <49CB0834 DOT 3010904 AT gmail DOT com> <49CB0F4A DOT 908 AT users DOT sourceforge DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <49CB0F4A.908@users.sourceforge.net> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mar 26 00:14, Yaakov S wrote: > -----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. This has been changed back in December 2000 when the RTEMS specific header files have been merged into newlib mainline headers. Unfortunately the ChangeLog doesn't give any hint why STRICT_ANSI has been disabled while doing that. Many of Cygwin's headers are not STRICT_ANSI compatible anyway, so we don't really care for this. You should send this to the newlib ML and ask for a clarification. I *assume* the STRICT_ANSI can be re-enabled nowadays. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |