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 To: cygwin AT cygwin DOT com Subject: Re: [1.7] 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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/