svn commit: r244278 - head/sys/boot/arm/uboot

Andrew Turner andrew at fubar.geek.nz
Sat Dec 15 22:36:02 UTC 2012


On Sat, 15 Dec 2012 16:51:36 -0500
Eitan Adler <lists at eitanadler.com> wrote:

> On 15 December 2012 16:47, Andrew Turner <andrew at freebsd.org> wrote:
> > Author: andrew
> > Date: Sat Dec 15 21:47:05 2012
> > New Revision: 244278
> > URL: http://svnweb.freebsd.org/changeset/base/244278
> >
> > Log:
> >   Ignore a warning in ubldr where clang doesn't understand the %D
> > printf specifier from libstand.
> >
> > Modified:
> >   head/sys/boot/arm/uboot/Makefile
> >
> > Modified: head/sys/boot/arm/uboot/Makefile
> > ==============================================================================
> > --- head/sys/boot/arm/uboot/Makefile    Sat Dec 15 21:33:12
> > 2012        (r244277) +++ head/sys/boot/arm/uboot/Makefile    Sat
> > Dec 15 21:47:05 2012        (r244278) @@ -109,6 +109,9 @@
> > CFLAGS+=    -I${.OBJDIR}/../../uboot/lib # where to get libstand
> > from CFLAGS+=       -I${.CURDIR}/../../../../lib/libstand/
> >
> > +# clang doesn't understand %D as a specifier to printf
> > +NO_WERROR.clang=
> 
> why not NO_WFORMAT or  WFORMAT=0 ?  Is there a need to eliminate the
> value of all the warnings?

Because, as far as I can tell, NO_WFORMAT and WFORMAT=0 are not
documented so I didn't know about them.

Andrew


More information about the svn-src-all mailing list