[1.7] <signal.h> does not compile with -ansi
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Mar 27 13:11:00 GMT 2009
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/
More information about the Cygwin
mailing list