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

Eitan Adler lists at eitanadler.com
Sat Dec 15 21:52:08 UTC 2012


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?



-- 
Eitan Adler


More information about the svn-src-head mailing list