bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] warnings: extend -Wno-foo handling to work through shell var


From: Eric Blake
Subject: Re: [PATCH] warnings: extend -Wno-foo handling to work through shell vars
Date: Thu, 15 Aug 2013 13:34:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 08/15/2013 01:24 PM, Eric Blake wrote:
> Reported by Paul Eggert.  Common usage is to do:
> 
> for w in $list; do
>   gl_WARN_ADD([$w])
> done
> 
> which means we have to be polymorphic to shell code (similar to
> how AS_VAR_SET is polymorphic).
> 
> * m4/warnings.m4 (gl_COMPILER_OPTION_IF): Make polymorphic.
> 
> Signed-off-by: Eric Blake <address@hidden>
> ---
>  ChangeLog      |  5 +++++
>  m4/warnings.m4 | 12 ++++++++++--
>  2 files changed, 15 insertions(+), 2 deletions(-)

I just realized I hadn't pushed the first patch, so I squashed the two
together into one, and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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