[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison-1.29 test failures
From: |
Pascal Bart |
Subject: |
Re: bison-1.29 test failures |
Date: |
Thu, 11 Oct 2001 11:52:22 +0000 (GMT) |
Hello,
we don't maintain intl, this a part of the gettext library, you
should see with address@hidden
Thanks.
>Another very minor point (which may belong to the gettext people
>rather than bison) is that I got warnings from the intl subdirectory like:
>In file included from system.h:119,
> from output.c:93:
>/usr/include/locale.h:56: warning: `LC_MESSAGES' redefined
>../intl/libintl.h:31: warning: this is the location of the previous definition
>
>Checking, I found the following code in libintl.h :
>....
>#include <locale.h>
>
>/* The LC_MESSAGES locale category is the category used by the functions
> gettext() and dgettext(). It is specified in POSIX, but not in ANSI C.
> On systems that don't define it, use an arbitrary value instead.
> On Solaris, <locale.h> defines __LOCALE_H then includes <libintl.h> (i.e.
> this file!) and then only defines LC_MESSAGES. To avoid a redefinition
> warning, don't define LC_MESSAGES in this case. */
>#if !defined LC_MESSAGES && !defined __LOCALE_H
># define LC_MESSAGES 1729
>#endif
>....
>but in our version of locale.h it says:
>#ifndef _LOCALE_H
>#define _LOCALE_H
>
>i.e. there is only a single "_" leading character. Changing the test to
>#if !defined LC_MESSAGES && !defined _LOCALE_H
>got rid of the warnings.
Pascal Bart (address@hidden)