In article <pine.neb.4.64.1108222146340.22...@screamer.whooppee.com>,
Paul Goyette  <p...@whooppee.com> wrote:
>I'm trying to modularize a couple of drivers, and one of them is 
>generating some gcc errors due to comparison of signed and unsigned 
>values.
>
>The driver module is currently being compiled with WARNS=4 (just picked 
>that up from another Makefile).  Is there a more appropriate WARNS=n to 
>use to permit the comparison?  Or should I simply add
>
>       CCOPTS+= -Wno-sign-compare
>
>(which is used when the driver is being compiled as part of a kernel)?

It is best to fix the errors.

christos

Reply via email to