From owner-freebsd-arch Thu Feb 28 13: 2:38 2002 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id EF22937B49E for ; Thu, 28 Feb 2002 13:01:56 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1SL1hb34184; Thu, 28 Feb 2002 13:01:43 -0800 (PST) (envelope-from obrien) Date: Thu, 28 Feb 2002 12:57:39 -0800 From: "David O'Brien" To: Mark Murray Cc: arch@freebsd.org Subject: Re: Warning and lint(1) fixes. Review please. Message-ID: <20020228125739.A34165@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020228121739.A33808@dragon.nuxi.com> <200202282031.g1SKV9g4053062@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202282031.g1SKV9g4053062@grimreaper.grondar.org>; from mark@grondar.za on Thu, Feb 28, 2002 at 08:31:09PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 28, 2002 at 08:31:09PM +0000, Mark Murray wrote: > > On Thu, Feb 28, 2002 at 08:14:01PM +0000, Mark Murray wrote: > > > > Because you are changing obvious syntax errors, if one uses a non-GCC > > > > compiler, into things that will silently fail; I would be more > > > > comfortable with this change if you kept the errors. > > > > > > > > Can you add #error in the #else cases? > > > > > > NP. I'll make that #error happen only #ifndef lint. Cool? > > > > Why can't lint be made to accept #error, but continue processing? > > 'Cos I'm trying to support multiple lints, and fixing them all seems > a bit unreasonable :-) I think dirtying up the code with tons of #ifndef lint is unreasonable. We have a base lint so that we can change things (ie, modify it). What lint's are you trying to support? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message