This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
linuxppc
- To: gcc-bugs at gcc dot gnu dot org
- Subject: linuxppc
- From: Magnus Ågren <isc07046 at comp dot nus dot edu dot sg>
- Date: Sun, 12 Nov 2000 15:58:30 -0500
- Reply-To: mange at sakar dot net
Hello
I don't know if it is a bug but when i compile a program on linuxppc
that make a comparison like
char c;
...
...
if (c < 0)
{
....
}
I get the following warning: comparison is always false due to limited
range of data type.
So I have to use the -fsigned-char flag when compiling. This is not the
case when compiling on linux intel, shouldn't it be the same???
/Magnus