NetBSD Problem Report #25884

Received: (qmail 27347 invoked by uid 605); 9 Jun 2004 12:46:00 -0000
Message-Id: <200406091252.i59Cq3IS001952@frohike.nvie.com>
Date: Wed, 09 Jun 2004 14:52:03 +0200 (CEST)
From: Peter.Bex@student.kun.nl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: Peter.Bex@student.kun.nl
To: gnats-bugs@gnats.NetBSD.org
Subject: Lint inconsistency in NetBSD mk system
X-Send-Pr-Version: 3.95

>Number:         25884
>Category:       toolchain
>Synopsis:       bsd.prog.mk doesn't call lint on the sources, bsd.lib.mk does.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 09 12:46:00 +0000 2004
>Closed-Date:    Sun Feb 28 21:51:04 +0000 2021
>Last-Modified:  Sun Feb 28 21:51:04 +0000 2021
>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:
Responsible-Changed-From-To: misc-bug-people->toolchain-manager
Responsible-Changed-By: jmc@netbsd.org
Responsible-Changed-When: Thu, 20 Jan 2005 04:39:56 +0000
Responsible-Changed-Why:
toolchain issue


State-Changed-From-To: open->closed
State-Changed-By: rillig@NetBSD.org
State-Changed-When: Sun, 28 Feb 2021 21:51:04 +0000
State-Changed-Why:

As of NetBSD 9.99.80, running "make lint" in a bsd.prog.mk directory works.



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.