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 <Pine.NEB.4.64.1108222146340.22222%screamer.whooppee.com@localhost>,
Paul Goyette <paul%whooppee.com@localhost> 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
Home |
Main Index |
Thread Index |
Old Index