Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 13:49:45 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r235797 - head/contrib/gcc
Message-ID:  <4FBCCED9.9050308@FreeBSD.org>
In-Reply-To: <201205221818.q4MII7lk019626@svn.freebsd.org>
References:  <201205221818.q4MII7lk019626@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-05-22 20:18, David E. O'Brien wrote:
> Author: obrien
> Date: Tue May 22 18:18:06 2012
> New Revision: 235797
> URL: http://svn.freebsd.org/changeset/base/235797
> 
> Log:
>   Do not incorrectly warn when printing a quad_t using "%qd" on 64-bit platforms.
> 
> Modified:
>   head/contrib/gcc/c-format.c
> 
> Modified: head/contrib/gcc/c-format.c
> ==============================================================================
> --- head/contrib/gcc/c-format.c	Tue May 22 17:44:01 2012	(r235796)
> +++ head/contrib/gcc/c-format.c	Tue May 22 18:18:06 2012	(r235797)
> @@ -287,7 +287,11 @@ static const format_length_info printf_l
>  {
>    { "h", FMT_LEN_h, STD_C89, "hh", FMT_LEN_hh, STD_C99 },
>    { "l", FMT_LEN_l, STD_C89, "ll", FMT_LEN_ll, STD_C9L },
> +#ifdef __LP64__
> +  { "q", FMT_LEN_l, STD_EXT, NULL, 0, 0 },
> +#else
>    { "q", FMT_LEN_ll, STD_EXT, NULL, 0, 0 },
> +#endif
>    { "L", FMT_LEN_L, STD_C89, NULL, 0, 0 },
>    { "z", FMT_LEN_z, STD_C99, NULL, 0, 0 },
>    { "Z", FMT_LEN_z, STD_EXT, NULL, 0, 0 },

Until all the additional warnings this causes have been fixed, can this commit please be reverted for now?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FBCCED9.9050308>