http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

--- Comment #3 from dave.anglin at bell dot net 2011-07-22 11:12:01 UTC ---
On 22-Jul-11, at 6:50 AM, rguenth at gcc dot gnu.org wrote:
> You probably get different prototypes with C vs. C++ for strsignal.


The prototype has to come from libiberty since the system doesn't have  
strsignal:

/* Return a signal message string for a signal number
    (e.g., strsignal (SIGHUP) returns something like "Hangup").  */
/* This is commented out as it can conflict with one in system headers.
    We still document its existence though.  */

/*extern const char *strsignal (int);*/

Dave
--
John David Anglin    dave.ang...@bell.net

Reply via email to