Date: Sun, 16 Dec 2012 11:35:40 +1300 From: Andrew Turner <andrew@fubar.geek.nz> To: Eitan Adler <lists@eitanadler.com> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r244278 - head/sys/boot/arm/uboot Message-ID: <20121216113540.37e5b58a@fubar.geek.nz> In-Reply-To: <CAF6rxg=DYN70fa-Go=PqghQjWnRNB94Pfthn2VHpgP-O=s-gww@mail.gmail.com> References: <201212152147.qBFLl6f1043013@svn.freebsd.org> <CAF6rxg=DYN70fa-Go=PqghQjWnRNB94Pfthn2VHpgP-O=s-gww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Dec 2012 16:51:36 -0500 Eitan Adler <lists@eitanadler.com> wrote: > On 15 December 2012 16:47, Andrew Turner <andrew@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121216113540.37e5b58a>