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 versions as well. -- Summary: psignal() declaration needs const char* Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kilobyte at angband dot pl GCC target triplet: i586-pc-msdosdjgpp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41916