From owner-freebsd-arch Thu Feb 28 12:21:50 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 6D48437B405 for ; Thu, 28 Feb 2002 12:21:45 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1SKLhf33827; Thu, 28 Feb 2002 12:21:43 -0800 (PST) (envelope-from obrien) Date: Thu, 28 Feb 2002 12:17:39 -0800 From: "David O'Brien" To: Mark Murray Cc: arch@freebsd.org Subject: Re: Warning and lint(1) fixes. Review please. Message-ID: <20020228121739.A33808@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020228112112.A30563@dragon.nuxi.com> <200202282014.g1SKE1g4052891@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: <200202282014.g1SKE1g4052891@grimreaper.grondar.org>; from mark@grondar.za on Thu, Feb 28, 2002 at 08:14:01PM +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: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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message