From owner-freebsd-current Sun Sep 6 18:04:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18812 for freebsd-current-outgoing; Sun, 6 Sep 1998 18:04:15 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA18807 for ; Sun, 6 Sep 1998 18:04:13 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id SAA13581; Sun, 6 Sep 1998 18:03:59 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma013579; Sun Sep 6 18:03:30 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id SAA13578; Sun, 6 Sep 1998 18:03:30 -0700 (PDT) From: Archie Cobbs Message-Id: <199809070103.SAA13578@bubba.whistle.com> Subject: Re: cvs commit: src/sys/kern subr_bus.c uipc_socket2.c In-Reply-To: <199809061801.LAA00223@austin.polstra.com> from John Polstra at "Sep 6, 98 11:01:23 am" To: jdp@polstra.com (John Polstra) Date: Sun, 6 Sep 1998 18:03:30 -0700 (PDT) Cc: jonny@jonny.eng.br, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Polstra writes: > > BTW: How far are we from using -Wall -Werror for the whole source > > tree, including kernel ? > > We should never add -Werror to the standard flags. If somebody > compiles without "-O", the compiler generates spurious warnings. > These kill the build if -Werror is present. That's arguable. Anyone who's capable of removing the -O from some included makefile is capable of removing -Werror from some included makefile. In practice, however, -Werror may not be workable... it would be an interesting experiment anyway. > Of course, we should still strive for the goal of "-O -Wall -Werror" > working. Not to mention -Wstrict-prototypes, -Wmissing-prototypes, -Wmissing-declarations, -Wnested-externs, ... what else?? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message