On Sat, 15 Dec 2012 16:51:36 -0500
Eitan Adler <[email protected]> wrote:

> On 15 December 2012 16:47, Andrew Turner <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to