[fpc-devel] Unreachable code warnings
Micha Nelissen
micha at neli.hopto.org
Mon Oct 15 11:17:04 CEST 2007
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
More information about the fpc-devel
mailing list