This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warnings in 3.3: comparison of unsigned expression < 0 is always false
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: c dot christian dot joensson at telia dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 7 May 2003 22:29:06 -0400 (EDT)
- Subject: Re: warnings in 3.3: comparison of unsigned expression < 0 is always false
- References: <20030507180745.GA14478@pentium3.j-son.org>
> /usr/local/src/branch/gcc/gcc/tlink.c:598: warning: comparison of unsigned expression < 0 is always false
> /usr/local/src/branch/gcc/gcc/tlink.c:614: warning: comparison of unsigned expression < 0 is always false
> /usr/local/src/branch/gcc/gcc/tlink.c:659: warning: comparison of unsigned expression < 0 is always false
>
> Is there something we could do about them?
These are harmless, you can ignore them. They come from the inline
string macros in glibc headers.
The warnings have been fixed on the trunk, and it's unlikely they'll
be fixed in 3.3 given where we are in the release cycle.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu