Subject: kern/20827: lfs_vfsops.c can't compile with -DDIAGNOSTIC
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6Q (2003/3/21 source)
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6Q NetBSD 1.6Q (NFORCEh) #0: Thu Mar 20 13:25:18 JST 2003 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCEh i386
Architecture: i386
Machine: i386
>Description:
	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

Stop.
nbmake: stopped in /usr/obj/i386/sys/arch/i386/compile/GENERIC_DIAGNOSTIC
>How-To-Repeat:
	make i386 GENERIC_DIAGNOSTIC kernel
>Fix:
	I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: