From owner-freebsd-current Tue Feb 26 10: 8:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id CB9C237B432 for ; Tue, 26 Feb 2002 10:08:22 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA23095; Wed, 27 Feb 2002 05:05:38 +1100 Date: Wed, 27 Feb 2002 05:06:04 +1100 (EST) From: Bruce Evans X-X-Sender: To: Garrett Wollman Cc: "M. Warner Losh" , Subject: Re: HEADS UP: cvs commit: src/sys/conf kern.pre.mk (fwd) In-Reply-To: <200202261720.g1QHKYE96424@khavrinen.lcs.mit.edu> Message-ID: <20020227050038.Q45670-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Garrett Wollman wrote: > < 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