Re: at least 260 packages broken on arm, powerpc and s390 due to wrong assumption on char signedness
On Thu, Dec 27, 2001 at 08:08:51PM +0100, Gerhard Tonn wrote:
> [...]
> Since in some cases this wrong assumption results in a warning
>
> comparison is always true due to limited range of data type
> or
> comparison is always false due to limited range of data type
>
> I grepped my archived build logs and found that all packages below have got
> this problem. Since I have currently not the time to write a bug report for
> each I would appreciate if the respective owner could look into the problem.
> sgb
This package is correct as is, and the warning is harmless; the line
of code involved is:
return (c<0||c>255)? unexpected_char: icode[c];
where c is a char expected to be in the normal range (0<=c<=127). All
the chars used in this code (AFAICT) are in this range.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer
Queen Mary, Univ. of London see http://people.debian.org/~jdg/
http://www.maths.qmul.ac.uk/~jdg/ or http://www.debian.org/
Visit http://www.thehungersite.com/ to help feed the hungry
Also: http://www.helpthehungry.org/
Reply to: