I'm getting this error when trying to compile kernels for the last
few days:

cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-p
rototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-e
xtensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/s
rc/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt
_global.h -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffr
eestanding -Werror  /usr/src/sys/kern/subr_trap.c
cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-p
rototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-e
xtensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/s
rc/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt
_global.h -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffr
eestanding -Werror  /usr/src/sys/kern/subr_witness.c
cc1: warnings being treated as errors
/usr/src/sys/kern/subr_witness.c:1443: warning: `witness_list' defined but not u
sed
*** Error code 1


I have -DNO_WERROR in my make line but (obviously) that doesn't get
around the "warnings being treated as errors" issue here.

Thoughts?

-Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to