tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where are the specific WARNS=n defined?

In article <>,
Paul Goyette  <> 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 
>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.


Home | Main Index | Thread Index | Old Index