This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/25914] strsignal.c:558: warning: comparison between signed and unsigned
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2006 21:56:24 -0000
- Subject: [Bug other/25914] strsignal.c:558: warning: comparison between signed and unsigned
- References: <bug-25914-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from sje at cup dot hp dot com 2006-01-26 21:56 -------
It looks like linux (including LSB 3.1 standard) uses an int argument in
psignal
and Apple/BSD systems use an unsigned int argument. I don't see psignal in any
ANSI or POSIX standards.
The libiberty version is currently an unsigned int.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25914