From owner-cvs-all Wed Jan 9 18:38:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 4304D37B41A; Wed, 9 Jan 2002 18:38:31 -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 NAA30839; Thu, 10 Jan 2002 13:38:19 +1100 Date: Thu, 10 Jan 2002 13:39:06 +1100 (EST) From: Bruce Evans X-X-Sender: To: David Malone Cc: Daniel Eischen , , Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c In-Reply-To: <200201092212.aa66829@salmon.maths.tcd.ie> Message-ID: <20020110132625.B10617-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 9 Jan 2002, David Malone wrote: > > CVSup'd last night. I removed the obj tree last week and it > > didn't work then either. My /etc/make.conf has > > CFLAGS= -O -pipe -Wall. -Wall gives you a nonstandard environment and basically breaks the control of warnings and errors using WARNS. > This might be the problem. If the CFLAGS from make.conf end up in > the final CFLAGS after the -Wno-uninitialized from bsd.sys.mk, as > it reenableles checking for uninitialised variables. This may break > things in directories where WARNS are enabeled. The problem here is that WARNS defaults to 1 for syslogd, so -Wno-uninitialized doesn't get set (because bsd.sys.mk doesn't set anything that would sets -Wuninitialized), but -Werror gets set (because that is what WARNS=1 asks for). -Werror in combination with -Wall tends to be fatal in code that has not been Wallified. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message