[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?

Peter,

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

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414816
Received on 2009-11-05 18:38:10 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.