Prof Abimbola A Olowofoyeku wrote:
On 25 Jul 00, at 0:02, Joachim Falk wrote:
Ah yes i have forgotten to report another problem with rts.{h,c} in rts.h if HAVE_STRSIGNAL is defined it does declare the function char *strsignal( int ) witch conflicts with the strsignal definition in the cygwin include file string.h const char *_EXFUN(strsignal, (int __signo)); => compiler abort
Funny - I have never experienced this problem, and I have been compiling GPC under Cygwin since last summer.
Perhaps you have a slightly different version of the header (the only difference I think is the `const', and this might not be there in other versions)...
If we have defined HAVE_STRSIGNAL does it mean we have a strsignal function defined in string.h or does it only mean the lib has one ?
AFAICS it means that it is defined in one of the standard headers.
It means the lib has one. But the new test STRSIGNAL_DECLARED means that it's declared (in string.h or signal.h).
Frank