bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module: xprintf


From: Jim Meyering
Subject: Re: new module: xprintf
Date: Sat, 20 Oct 2007 19:50:51 +0200

Bruno Haible <address@hidden> wrote:
> Eric Blake wrote:
>> gnulib-tool output is already verbose
>
> It was mentioned that verbosity can be overcome by looking at the differences
> between the previous run and the current run. I use the attached script daily.
>
>> is there a better way to just automatically update po/Makevars (possibly
>> by teaching po/Makevars how to include a second file)?
>
> Not so far. But what I could do in the next gettext release is to use the
> configure script as a collector for all the needed options: I could define
> a macro AM_XGETTEXT_OPTION([option]) that would augment an AC_SUBSTed
> variable which then gets used in po/Makefile, together with the
> XGETTEXT_OPTIONS from po/Makevars. How does that sound?
>
>> > Notice from module error:
>> >   If you are using GNU gettext, add the following options to 
>> > XGETTEXT_OPTIONS
>> >   in your po/Makevars: --flag=error:3:c-format 
>> > --flag=error_at_line:5:c-format
>>
>> Why error, but not also verror?
>
> Forgot about it. Of course, 'verror' should be handled like 'error'.

Here's what I want :-)

    Simply add an attribute to each affected module indicating that a
    function takes a printf-style format string, and then let tools do
    the rest, possibly even including deriving the arg offset based on
    attribute directives in header files.

Then, it could at least verify the contents of po/Makevars, and
maybe even suggest a command to update it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]