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.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message