Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 16:51:36 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Andrew Turner <andrew@freebsd.org>
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:  <CAF6rxg=DYN70fa-Go=PqghQjWnRNB94Pfthn2VHpgP-O=s-gww@mail.gmail.com>
In-Reply-To: <201212152147.qBFLl6f1043013@svn.freebsd.org>
References:  <201212152147.qBFLl6f1043013@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=DYN70fa-Go=PqghQjWnRNB94Pfthn2VHpgP-O=s-gww>