Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 12:57:39 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Mark Murray <mark@grondar.za>
Cc:        arch@freebsd.org
Subject:   Re: Warning and lint(1) fixes. Review please.
Message-ID:  <20020228125739.A34165@dragon.nuxi.com>
In-Reply-To: <200202282031.g1SKV9g4053062@grimreaper.grondar.org>; from mark@grondar.za on Thu, Feb 28, 2002 at 08:31:09PM %2B0000
References:  <20020228121739.A33808@dragon.nuxi.com> <200202282031.g1SKV9g4053062@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020228125739.A34165>