[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 05 Nov 2009 17:37:46 +0000

Peter Samuelson wrote:
> ...Indeed, we use quite a lot of _() with printf format strings (see
> all the references to 'c-format' in tools/po/po-update.sh). Why
> aren't these _all_ warnings with your compiler?


The warnings are nothing to do with _() but only to do with passing a
variable as the format argument to a printf(), which makes the compiler
unable to check the format.

- Julian

Received on 2009-11-05 18:38:10 CET

This is an archived mail posted to the Subversion Dev mailing list.