bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] lib/gettext.h: fix warning if gettext is already present


From: Bruno Haible
Subject: Re: [PATCH] lib/gettext.h: fix warning if gettext is already present
Date: Mon, 27 Jan 2020 02:41:16 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; )

Giulio Benetti wrote:
> In my specific case I'm adding package libbytesize 
> [1], where they add src/gettext.h

But libbytesize uses gettext.h as they should: They use the file internally,
without installing it in public locations upon "make install".

Since you reported a redefinition warning regarding 'gettext_noop',
gettext_noop must have been defined as a macro already elsewhere. Where?

> but they define ENABLE_NLS in any case

Defining ENABLE_NLS several times to the same value 1 is a no-brainer.
It does not produce GCC warnings.

Bruno




reply via email to

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