On Fri, 15 Aug 2014, Manuel L?pez-Ib??ez wrote:
> Hi,
>
> This patch moves the location of various Wformat warnings from
> pointing to the first character of the function name (such as printf)
> to the actual format string. This is specially useful when you have
> something like
>
> printf (cond
I should have pointed out that this is based on a preliminary patch by
Steven attached to PR 52952. I will update the Changelog to reflect
this when committing.
Cheers,
Manuel.
On 15 August 2014 15:51, Manuel López-Ibáñez wrote:
> Hi,
>
> This patch moves the location of various Wformat warnin
Hi,
This patch moves the location of various Wformat warnings from
pointing to the first character of the function name (such as printf)
to the actual format string. This is specially useful when you have
something like
printf (cond ? "format 1" : "format 2");
It also moves (some) of the warning