Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 07:53:25 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        "David E. O'Brien" <obrien@FreeBSD.ORG>, <current@FreeBSD.ORG>
Subject:   Re: cvs commit: src/share/mk bsd.sys.mk
Message-ID:  <20020709074840.J4210-100000@gamplex.bde.org>
In-Reply-To: <20020708084633.GA47134@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709074840.J4210-100000>