[Top][All Lists]

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

Re: bison-1.29 test failures

From: Len Makin
Subject: Re: bison-1.29 test failures
Date: Thu, 11 Oct 2001 09:14:39 +1000

Merci Akim,
On Wednesday, 10 October 2001, at 17:15,
Akim Demaille <address@hidden> wrote:
> Thanks, this is a known problem, which was not intended.  I believe
> the current alpha is correct wrt this.  Would you give it a try?
>         ftp://alpha.gnu.org/gnu/bison/bison-1.29d.tar.gz
This passes all the tests.
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
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.
A bientot,
address@hidden:+61 3 9669 8109: CSIRO/Bureau of Meteorology
      High Performance Computing and Communications Centre
24th floor, 150 Lonsdale St | GPO Box 1289K, Melbourne, VIC 3001 Australia

reply via email to

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