Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client

subversion
Discussion topic

Back to topic list

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

Author julianfoad
Full name Julian Foad
Date 2009-11-05 09:37:54 PST
Message 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

« Previous message in topic | 6 of 14 | Next message in topic »

Messages

Show all messages in topic

[PATCH] Remove warning 'format not a string literal' in libsvn_client dannas Daniel Näslund 2009-11-04 22:40:36 PST
     Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client julianfoad Julian Foad 2009-11-05 03:19:44 PST
         [PATCH v2] Remove warning 'format not a string literal' in libsvn_client dannas Daniel Näslund 2009-11-05 10:10:02 PST
             Re: [PATCH v2] Remove warning 'format not a string literal' in libsvn_client julianfoad Julian Foad 2009-11-05 11:04:24 PST
     Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client peters Peter Samuelson 2009-11-05 08:33:07 PST
         Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client julianfoad Julian Foad 2009-11-05 09:37:54 PST
             Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client stsp Stefan Sperling 2009-11-05 09:47:03 PST
         Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client brane Branko Cibej 2009-11-05 10:18:34 PST
             Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client dannas Daniel Näslund 2009-11-05 10:57:41 PST
                 Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-11-05 11:00:44 PST
                 Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client brane Branko Cibej 2009-11-05 13:22:13 PST
                 Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client gavinbaumanis Gavin Baumanis 2009-11-10 15:11:52 PST
                     Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client dannas Daniel Näslund 2009-11-10 22:34:52 PST
                         Re: [PATCH] Remove warning 'format not a string literal' in libsvn_client gavinbaumanis Gavin Baumanis 2009-11-11 00:39:41 PST
Messages per page: