Current-Users archive

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

compiling kernel fails (amd64)



Hi,

with source cvs updated some minutes ago, compiling a new kernel
fails in uvm_fault.c

    compile  U24M2/uvm_fault.o
cc1: warnings being treated as errors
/u/NetBSD/src/sys/uvm/uvm_fault.c: In function 'uvm_fault_lower_generic1':
/u/NetBSD/src/sys/uvm/uvm_fault.c:1278: warning: unused variable 'uobjpage'
/u/NetBSD/src/sys/uvm/uvm_fault.c:1277: warning: unused variable 'uobj'
/u/NetBSD/src/sys/uvm/uvm_fault.c:1276: warning: unused variable 'amap'

*** Failed target:  uvm_fault.o

Above vars are only used in KASSERT(...) which lint doesn't count as "used"...

Kurt


Home | Main Index | Thread Index | Old Index