Subject: kern/20827: lfs_vfsops.c can't compile with -DDIAGNOSTIC
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/21/2003 09:14:30
>Number:         20827
>Category:       kern
>Synopsis:       lfs_vfsops.c can't compile with -DDIAGNOSTIC
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 20 16:15:00 PST 2003
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6Q (2003/3/21 source)
System: NetBSD 1.6Q NetBSD 1.6Q (NFORCEh) #0: Thu Mar 20 13:25:18 JST 2003 i386
Architecture: i386
Machine: i386
	This is error log from today's build:

/home/t/i386/bin/i386--netbsdelf-gcc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.  -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /usr/src/sys/ufs/lfs/lfs_vfsops.c
cc1: warnings being treated as errors
/usr/src/sys/ufs/lfs/lfs_vfsops.c: In function `lfs_vinit':
/usr/src/sys/ufs/lfs/lfs_vfsops.c:2009: warning: implicit declaration of function `lfs_dump_dinode'
*** Error code 1

nbmake: stopped in /usr/obj/i386/sys/arch/i386/compile/GENERIC_DIAGNOSTIC
	make i386 GENERIC_DIAGNOSTIC kernel
	I don't know.