bug-gnulib
[Top][All Lists]
Advanced

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

Re: warning: module to simplify adding compiler warnings


From: Simon Josefsson
Subject: Re: warning: module to simplify adding compiler warnings
Date: Tue, 11 Nov 2008 14:23:14 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Paolo Bonzini <address@hidden> writes:

>> But gl_WARN_INIT should also accept a VARIABLE argument, then? Or better,
>> make gl_WARN_INIT automatic upon the first use of gl_WARN_ADD with the
>> given VARIABLE?
>
> You have a point; however, gl_WARN_INIT would then need a second
> argument for the description too, and then the user can directly use
> AC_ARG_VAR.

For that reason, I'd be in favor of requiring a gl_WARN_INIT for each
variable used.  That might avoid strange effects due to typos too.

/Simon




reply via email to

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