Mail Archives: djgpp/2006/08/04/13:14:46
> 2) It's being built not because DJGPP is lacking it, but because the
> host OS (CygWin) is. That confused me for a while too...
Then it's a gcc/cygwin issue.
> In the GCC source strsignal.c, I see:
> psignal (unsigned signo, char *message)
> In DJGPP's signal.h, there's:
> void psignal(int _sig, const char *_msg);
> In the signal.h on SuSE 10 Linux,
> extern void psignal (int __sig, __const char *__s);
>
> So DJGPP and Linux agree, and the GCC source has a different
> prototype. I couldn't find any other compilers/OSes on a quick
> scan of my systems that implement psignal.
Ah, but psignal shouldn't be compiled unless there *isn't* one, so it
can't be "wrong". At least, it shouldn't be able to conflict with the
system one.
- Raw text -