Re: [Bug c++/41916] New: psignal() declaration needs const char*

2009-11-02 Thread DJ Delorie
Libiberty should not even try to compile psignal() on djgpp as djgpp already has one. This is noted in libiberty/configure.ac.

[Bug c++/41916] New: psignal() declaration needs const char*

2009-11-02 Thread kilobyte at angband dot pl
In libiberty/strsignal.c, psignal() is declared using non-const char. This causes a conflict with DJGPP headers which use const char just like POSIX and everyone else. This bug was found in gcc 4.4.2, but considering the unpopularity of this target, it's likely to be present in other recent versi