[1.7] <signal.h> does not compile with -ansi
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.
If the signal.h change gets applied, I change the Cygwin headers
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin