Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pf_ioctl.c still wants -Wno-shadow
Sorry about that, the kernel config I tested was missing options ALTQ. I'll
fix that now.
-----Original Message-----
From: Hauke Fath
Sent: Tuesday, August 30, 2011 7:40 AM Newsgroups: gmane.os.netbsd.current
To: current-users%NetBSD.org@localhost
Cc: hf%spg.tu-darmstadt.de@localhost
Subject: pf_ioctl.c still wants -Wno-shadow
After the recent module-related update, compiling pf_ioctl.c fails with
<snip>
# compile PIZZA_PF/pf_ioctl.o
/u/netbsd-builds/developer/sparc/tools/bin/sparc--netbsdelf-gcc -mno-fpu -ffreestanding
-fno-zero-initialized-in-bss -mcpu=supersparc -O2 -pipe -fno-strict-aliasing
-std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare --sysroot=/u/netbsd-builds/developer/sparc/destdir
-I. -I/public/netbsd-developer/sys/../common/include -I/public/netbsd-developer/sys/arch
-I/public/netbsd-developer/sys -nostdinc -DMAXDSIZ=(1024*1024*1024) -DNVNODE=40960
-D__CPU_SIMPLE_LOCK_NOINLINE -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -std=gnu99
-I/public/netbsd-developer/sys/lib/libkern/../../../common/lib/libc/quad -I/public/netbsd-developer/sys/lib/libkern/../../../common/lib/libc/string
-I/public/netbsd-developer/sys/lib/libkern/../../../common/lib/libc/arch/sparc/string -I/public/netbsd-developer/sys/dist/pf -c/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.ccc1: warnings being treated as errors/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c: In function 'pfioctl':/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:2224:22: error:declaration of 'pa' shadows a previous local/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:1217:22: error: shadoweddeclaration is here/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:2269:22: error:declaration of 'pa' shadows a previous local/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:1217:22: error: shadoweddeclaration is here/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:2280:22: error:declaration of 'pa' shadows a previous local/public/netbsd-developer/sys/dist/pf/net/pf_ioctl.c:1217:22: error: shadoweddeclaration is here*** [pf_ioctl.o] Error code 1nbmake: stopped in/var/obj/netbsd-builds/developer/s
parc/sys/arch/sparc/compile/PIZZA_PF1 error</snip> hauke
Home |
Main Index |
Thread Index |
Old Index