Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
build failure in amd64-current in fss.c
# compile fss/fss.o
/usr/src/obj.amd64/tooldir.NetBSD-5.99.58-amd64/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-Wno-sign-compare -Werror -ffreestanding -fno-strict-aliasing
-Wno-pointer-sign -mno-red-zone -mcmodel=kernel -I/usr/src/common/include
--sysroot=/usr/src/obj.amd64/destdir.amd64 -I/usr/src/common/include -nostdinc
-I. -I/usr/src/sys/modules/fss -isystem /usr/src/sys -isystem /usr/src/sys/arch
-isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE
-DSYSCTL_INCLUDE_DESCR -c /usr/src/sys/dev/fss.c
/usr/src/sys/dev/fss.c: In function 'fss_ioctl':
/usr/src/sys/dev/fss.c:367:2: error: duplicate case value
/usr/src/sys/dev/fss.c:341:2: error: previously used here
Seems like case statements can't tell the difference between FSSIOCGET50
and FSSIOCSET. Is that a compiler bug?
--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
Home |
Main Index |
Thread Index |
Old Index