This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

warnings in 3.3: comparison of unsigned expression < 0 is always false


In http://gcc.gnu.org/ml/gcc-testresults/2003-05/msg00405.html, I get
the follwingcompilation warnings:

stage2/xgcc -Bstage2/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/usr/local/src/branch/gcc/gcc -I/usr/local/src/branch/gcc/gcc/. -I/usr/local/src/branch/gcc/gcc/config -I/usr/local/src/branch/gcc/gcc/../include  \
-DTARGET_MACHINE=\"i686-pc-linux-gnu\" \
-c /usr/local/src/branch/gcc/gcc/collect2.c -o collect2.o
/usr/local/src/branch/gcc/gcc/collect2.c: In function `dump_file':
/usr/local/src/branch/gcc/gcc/collect2.c:515: warning: comparison of unsigned expression < 0 is always false
stage2/xgcc -Bstage2/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/usr/local/src/branch/gcc/gcc -I/usr/local/src/branch/gcc/gcc/. -I/usr/local/src/branch/gcc/gcc/config -I/usr/local/src/branch/gcc/gcc/../include /usr/local/src/branch/gcc/gcc/tlink.c -o tlink.o
/usr/local/src/branch/gcc/gcc/tlink.c: In function `scan_linker_output':
/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?

Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]