Subject: misc/25884: Lint inconsistency in NetBSD mk system
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <Peter.Bex@student.kun.nl>
List: netbsd-bugs
Date: 06/09/2004 14:52:03
>Number:         25884
>Category:       misc
>Synopsis:       bsd.prog.mk doesn't call lint on the sources, bsd.lib.mk does.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 09 12:46:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0_BETA
>Organization:
	
>Environment:
	
	
System: NetBSD frohike.nvie.com 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Thu May 13 04:56:30 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	Using the bsd mk system, bsd.prog.mk does not call lint on the targets,
	while bsd.lib.mk _does_ call lint.
	This is an inconsistency and should be fixed.

>How-To-Repeat:
	n/a

>Fix:
	The most correct fix would be to enable lint on programs as well and
	fix those programs in the NetBSD source tree which make lint complain,
	either by rewriting the offending lines to lines which lints accepts
	or by adding more specific lint comments to lint to disable these
	specific warnings.
>Release-Note:
>Audit-Trail:
>Unformatted: