[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trivial patches to silence -Wundef
From: |
Tim Rühsen |
Subject: |
Re: Trivial patches to silence -Wundef |
Date: |
Thu, 6 Apr 2017 09:53:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 04/05/2017 10:59 PM, Bruno Haible wrote:
> Hi Tim,
>
>> These patches silence tons of warnings here...
>> 0001-lib-gettext.h-Avoid-Wundef-warningi-for-ENABLE_NLS.patch
>
> We cannot apply this patch. While gettext.m4 defines ENABLE_NLS to 1
> or doesn't define it at all, many developers use "#defined ENABLE_NLS 0"
> to disable NLS from GNU gettext: A web search for "define enable_nls 0"
> lists 133 hits.
> The proposed patch would break these uses.
True, I missed that.
Here is the amended patch to deal with that situation.
Regards, Tim
0001-lib-gettext.h-Avoid-Wundef-warning-for-ENABLE_NLS.patch
Description: Text Data
signature.asc
Description: OpenPGP digital signature