[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trivial patches to silence -Wundef
From: |
Bruno Haible |
Subject: |
Re: Trivial patches to silence -Wundef |
Date: |
Wed, 05 Apr 2017 22:59:09 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-71-generic; KDE/5.18.0; x86_64; ; ) |
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.
Bruno