Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2000 08:05:39 -0500
From:      steve@gort.connection.com
To:        freebsd-questions@freebsd.org
Subject:   3.4 kernel compile warnings???
Message-ID:  <20000517080539.A1358@gort.connection.com>

next in thread | raw e-mail | index | archive | help
Howdy!

	I just compiled a bunch of kernels for different boxen on a
 3.4 system and got consistent compiler warnings. I suspect that they are
 not a problem but I just want to check before I replace the GENERIC 
kernels that these warnings are typical of correctly configured kernels.

The mailling list archives referred to some compile warnings  as being
present but nothing specific. config issued no warnings and I did a make depend.

	thanx - steve

 
In file included from ../../kern/init_sysent.c:11:
../../sys/sysent.h:72: warning: `struct vnode' declared inside parameter list
../../sys/sysent.h:72: warning: its scope is only this definition or declaration,
../../sys/sysent.h:72: warning: which is probably not what you want.
../../kern/kern_ntptime.c:542: warning: initialization from incompatible pointer type
../../pci/if_fxp.c: In function `fxp_intr':
../../pci/if_fxp.c:1069: warning: label `getit' defined but not used
../../pci/if_fxp.c:1064: warning: label `dropit' defined but not used
../../i386/i386/identcpu.c: In function `printcpuinfo':
../../i386/i386/identcpu.c:129: warning: `nreg' might be used uninitialized in this function
../../i386/isa/clock.c: In function `calibrate_clocks':
../../i386/isa/clock.c:595: warning: `old_tsc' might be used uninitialized in this function
../../i386/isa/npx.c:126: warning: `timezero' declared `static' but never defined


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000517080539.A1358>