Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 05:06:04 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        "M. Warner Losh" <imp@village.org>, <current@FreeBSD.ORG>
Subject:   Re: HEADS UP: cvs commit: src/sys/conf kern.pre.mk (fwd)
Message-ID:  <20020227050038.Q45670-100000@gamplex.bde.org>
In-Reply-To: <200202261720.g1QHKYE96424@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Feb 2002, Garrett Wollman wrote:

> <<On Mon, 25 Feb 2002 23:35:12 -0700 (MST), "M. Warner Losh" <imp@village.org> said:
>
> > volatile int conspeed;
> > int *foo = &conspeed;
>
> The answer to this is....
>
> Not all warnings are indicative of errors.  It is unreasonable to
> expect all warnings to be removed, since the compiler has insufficient
> knowledge to be able to determine whether this usage is safe or not.

It should be possible to tell it to at least not convert individual
warnings to errors, using something like lint markup.  IIRC, TenDRA
uses #pragma for related things in its headers.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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