>> format_arg:
>> This function attribute declares the function as receiving a
>> mallloc style string. This is used in conjuction with gettext, so that
>> xgettext can properly mark the strings as being printf format
>> strings. Currently subversion lists all these functions when invoking
>> xgettext, this is awful.
>>
> The xgettext program of GNU Gettext 0.14.5 does not parse __attribute__
> in C source files, so Subversion must list the functions when invoking
> xgettext, regardless of whether it uses the format_arg attribute.
> This attribute just allows GCC to recognize the format string at compile
> time and warn if the format specifiers in it do not match the arguments
> of the other function, as in printf(my_gettext(foo, "%ld"), 1).
>
Yes, I've realized thart after posting the message. There seem to be no
better way to handle this.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 13 03:56:27 2006