Subject: Signed/unsigned comparison warnings
To: None <>
From: Jason R Thorpe <>
List: tech-toolchain
Date: 08/25/2002 11:46:30

Recently, GCC 3.3 (GCC-current) has become more aggressive about warning
about signed vs. unsigned comparisons.  Today I discovered (after just
getting back to the toolchain after not being able to work on it for a
while) that our kernel is full of things that trip this warning.  This is
from an x86-64 kernel build:

yeah-baby:thorpej 9$ grep -c warning: make.out                                 
yeah-baby:thorpej 10$  

Some of these warnings will be pretty easy to fix.  However, MANY of them
are in the file system code.  I'm a little nervous about touching the FS
code to fix these warnings -- I'd prefer if someone more familiar with the
goings-on there would do this.

If anyone wants the log, or wants to discuss fixing these problems, please
contact me off-list.

        -- Jason R. Thorpe <>