From owner-freebsd-arch Thu Feb 28 12:35:33 2002 Delivered-To: freebsd-arch@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id EAD8637B402; Thu, 28 Feb 2002 12:35:30 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id g1SKZUP55295; Thu, 28 Feb 2002 20:35:30 GMT (envelope-from mark@grimreaper.grondar.za) Received: from grimreaper (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.2/8.12.2) with ESMTP id g1SKV9g4053062; Thu, 28 Feb 2002 20:31:09 GMT (envelope-from mark@grimreaper.grondar.za) Message-Id: <200202282031.g1SKV9g4053062@grimreaper.grondar.org> To: obrien@freebsd.org Cc: arch@freebsd.org Subject: Re: Warning and lint(1) fixes. Review please. References: <20020228121739.A33808@dragon.nuxi.com> In-Reply-To: <20020228121739.A33808@dragon.nuxi.com> ; from "David O'Brien" "Thu, 28 Feb 2002 12:17:39 PST." Date: Thu, 28 Feb 2002 20:31:09 +0000 From: Mark Murray 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: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 :-) M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message