This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] <signal.h> does not compile with -ansi


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]