#define _POSIX_REALTIME_SIGNALS causes parse error in sys/signal.h

Attila Szegedi szegedia@freemail.hu
Tue Jul 15 21:52:00 GMT 2003


----- Original Message -----
From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
To: "Attila Szegedi" <szegedia@freemail.hu>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, July 15, 2003 8:30 PM
Subject: Re: #define _POSIX_REALTIME_SIGNALS causes parse error in
sys/signal.h


>
> Try staring long and hard at the output of "gcc -E sample.c"... ;-)


Okay. After preprocessing these lines read (modulo e-mail introduced line
breaks):

int __attribute__((__cdecl__)) sigwaitinfo (const sigset_t *set, siginfo_t
*info);
int __attribute__((__cdecl__)) sigtimedwait (const sigset_t *set, siginfo_t
*info, const struct timespec *timeout);

I still see nothing suspicious near "siginfo_t"... These lines still look
like legal C declarations.
Attila.


--
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