From owner-cvs-all Tue Jan 19 13:35:13 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10079 for cvs-all-outgoing; Tue, 19 Jan 1999 13:35:13 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ceia.nordier.com (m2-32-dbn.dial-up.net [196.34.155.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10072 for ; Tue, 19 Jan 1999 13:35:07 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id XAA19822; Tue, 19 Jan 1999 23:34:07 +0200 (SAT) From: Robert Nordier Message-Id: <199901192134.XAA19822@ceia.nordier.com> Subject: Re: -Werror In-Reply-To: <199901192108.IAA05382@godzilla.zeta.org.au> from Bruce Evans at "Jan 20, 99 08:08:18 am" To: bde@zeta.org.au (Bruce Evans) Date: Tue, 19 Jan 1999 23:34:04 +0200 (SAT) Cc: cvs-committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAB10073 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Bruce Evans wrote: > People are already committing code that should be caught by -Werror: > > ../../netinet/if_ether.c: In function `arpresolve': ../../netinet/if_ether.c:330: warning: `la' might be used uninitialized in this function > `la' _is_ used uninitialized in this function. Last I heard, folks intent on establishing -Werror as a default option were being threatened with mayhem or worse. Is the point that we are nevertheless required to act "as if", at least as far as new code is concerned? I'm looking for clarity, rather than disputing the wisdom of any group decision (assuming there has been a group decision): there doesn't seem to be anything in style(9) about this. Though, if the matter is still undecided, it's probably worth noting that C experts as eminent as P.J. Plauger have gone on record as regarding a "C compiler warnings as errors" policy as unworkable. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message