Current-Users archive

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

Re: CHFS build failure on sparc64-current



On Thu, 24 Nov 2011, Hisashi T Fujinaka wrote:

--- ebh.o ---
#   compile  chfs/ebh.o
/usr/cross/sparc64/bin/sparc64--netbsd-gcc -O2 -g -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 -I/usr/src/common/include --sysroot=/usr/src/obj.sparc64/destdir.sparc64 -DDIAGNOSTIC -DDEBUG -DLOCKDEBUG -I/usr/src/common/include -nostdinc -I. -I/usr/src/sys/modules/chfs -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/ufs/chfs/ebh.c
cc1: warnings being treated as errors
/usr/src/sys/ufs/chfs/ebh.c: In function 'nand_process_eb':
/usr/src/sys/ufs/chfs/ebh.c:1372:7: error: declaration of 'isbad' shadows a global declaration

Looks like just changing the isbad to isbad_ebh fixes this.

--
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