From owner-freebsd-current Mon Jul 8 14:50:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A27C537B400; Mon, 8 Jul 2002 14:50:23 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6157B43E54; Mon, 8 Jul 2002 14:50:22 -0700 (PDT) (envelope-from bde@zeta.org.au) 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 HAA30289; Tue, 9 Jul 2002 07:50:20 +1000 Date: Tue, 9 Jul 2002 07:53:25 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Ruslan Ermilov Cc: "David E. O'Brien" , Subject: Re: cvs commit: src/share/mk bsd.sys.mk In-Reply-To: <20020708084633.GA47134@sunbay.com> Message-ID: <20020709074840.J4210-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 Mon, 8 Jul 2002, Ruslan Ermilov wrote: > On Sun, Jul 07, 2002 at 11:47:52AM -0700, David E. O'Brien wrote: > > ... > > Log: > > Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. > > ... > I'm sure you know that it's now about the time for -DNO_WERRROR to > build -CURRENT: > > ===> bin/chmod > cc -O -pipe -march=pentiumpro -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /CURRENT/usr/src/bin/chmod/chmod.c > cc1: warnings being treated as errors > /CURRENT/usr/src/bin/chmod/chmod.c: In function `main': > /CURRENT/usr/src/bin/chmod/chmod.c:174: warning: null format string > *** Error code 1 I just committed fixes for all remaining world brokenness except in gdb/gdbreplay and never saw this error here. Line 174 has "err(1, NULL)". err() is __printf0like, so the null format string should not be warned about. Support for __printf0like was supposed to have been merged from the previous version of gcc a while ago. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message