On Wed, May 11, 2005 at 09:33:38AM +0200, Idar Tollefsen wrote: > Alexander Soldatov wrote: > >I've got an error when I try to compile kernel with new configuration. > >That is: > > > >if_gif.c: In function 'gif_destroy': > > > >if_gif.c:187: warning: unused variable 'err' > > > >Error code 1 > > Try setting > NO_WERROR= yes > in make.conf. > > If WARNS_ERROR=yes (defaults/make.conf), it will treat warnings as errors. > NO_WERROR=yes disables that behavior. At least this is how it works on 4.x.
This should not be an issue in a default installation unless you have turned on additional warnings explicitly, or modified the kernel source to introduce them. Kris
pgph67KgHNlGQ.pgp
Description: PGP signature
