www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 27 Mar 2009 11:21:27 +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: | <20090327102127.GV12738@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> <49CC8FE7 DOT 8090904 AT users DOT sourceforge DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <49CC8FE7.8090904@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 27 03:35, Yaakov S wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Yaakov (Cygwin/X) wrote: > > 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. > > That doesn't work, because we need the _sig_func_ptr typedef regardless > of -ansi: > > /usr/include/signal.h:17: error: expected ',' or ';' before '_signal_r' > /usr/include/signal.h:21: error: expected ',' or ';' before 'signal' > > Take two attached. It's still newlib fodder, though. http://cygwin.com/ml/cygwin/2009-03/msg00920.html If the signal.h change gets applied, I change the Cygwin headers accordingly. 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 |