Re: [PATCH] fix not a string literal warning in test_xasprintf

2012-03-31 Thread Eric Blake
On 03/31/2012 09:44 AM, Gilles Espinasse wrote: > Visible with gcc-4.4.5 with defaults-format-security.patch > > test-xvasprintf.c: In function 'test_xasprintf': > test-xvasprintf.c:98: warning: format not a string literal and no format > arguments > > Signed-off-by: Gilles Espinasse > --- > t

[PATCH] fix not a string literal warning in test_xasprintf

2012-03-31 Thread Gilles Espinasse
Visible with gcc-4.4.5 with defaults-format-security.patch test-xvasprintf.c: In function 'test_xasprintf': test-xvasprintf.c:98: warning: format not a string literal and no format arguments Signed-off-by: Gilles Espinasse --- tests/test-xvasprintf.c |2 +- 1 files changed, 1 insertions(+)

Re: fflush.c unused parameter

2012-03-31 Thread Simon Josefsson
Eric Blake writes: > On 03/30/2012 05:09 PM, Simon Josefsson wrote: >> fflush.c:91: error: expected ';', ',' or ')' before '_GL_UNUSED_PARAMETER' >> >> I suspect something like this is needed? > > Aargh, sorry for messing that up, and yes, you patch is right. Can you > go ahead and push it? Do