Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Compiling kernel for amd64 fails
Hi,
with current src cvs-updated some minutes ago compiling a new
kernel for amd64 (on amd64) fails:
cc1: warnings being treated as errors
/u/NetBSD/src/sys/kern/subr_vmem.c: In function 'vmem_dump':
/u/NetBSD/src/sys/kern/subr_vmem.c:1455:2: error: cast discards qualifiers from
pointer target type
--- subr_vmem.o ---
*** [subr_vmem.o] Error code 1
the relevant line from src/sys/kern/subr_vmem.c:
1448 static void
1449 vmem_dump(const vmem_t *vm , void (*pr)(const char *, ...) __printflike(1,
2))
1450 {
1451 const bt_t *bt;
1452 int i;
1453
1454 (*pr)("vmem %p '%s'\n", vm, vm->vm_name);
--> 1455 CIRCLEQ_FOREACH(bt, &vm->vm_seglist, bt_seglist) {
1456 bt_dump(bt, pr);
1457 }
1458
maybe fallout from the changes to sys/sys/queue.h?
Kurt
Home |
Main Index |
Thread Index |
Old Index