Florian Klaempfl wrote:
~> gcc -c test.c
test.c: In function ‘f’:
test.c:3: warning: comparison is always false due to limited range of
data type
test.c:3: warning: comparison is always false due to limited range of
data type

Yes, very annoying in gcc as well. It also warns when a variable is "shadowed", a similar annoying warning. GCC doesn't even have hints AFAIK.

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to