[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't compile on HP-UX 11
From: |
Bruno Haible |
Subject: |
Re: can't compile on HP-UX 11 |
Date: |
Wed, 2 Jan 2002 21:30:04 +0100 (CET) |
Akim Demaille writes:
> Yuhui> "(Bundled) cc:"loadmsgcat.c", line 274:
> Yuhui> error 1705: Function prototypes are an ANSI feature. *** error
> Yuhui> exit code 1"
>
> Heck, I had not realized Gettext was ANSI :( I hope it is not meant
> by its maintainers... Bruno? The guilty line is:
>
>
> # if HAVE_ICONV
> extern const char *locale_charset (void); // <<= 274
> outcharset = locale_charset ();
> # endif
>
>
> Bison is using 0.10.40.
It is a mistake. Please use this patch.
2002-01-02 Bruno Haible <address@hidden>
* loadmsgcat.c (_nl_init_domain_conv): Convert extern declaration to
K&R syntax.
*** intl/loadmsgcat.c 2001/12/21 16:44:13 1.23
--- intl/loadmsgcat.c 2002/01/02 20:29:52
***************
*** 195,201 ****
outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX
(CODESET)].string;
# else
# if HAVE_ICONV
! extern const char *locale_charset (void);
outcharset = locale_charset ();
# endif
# endif
--- 195,201 ----
outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX
(CODESET)].string;
# else
# if HAVE_ICONV
! extern const char *locale_charset PARAMS ((void));
outcharset = locale_charset ();
# endif
# endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: can't compile on HP-UX 11,
Bruno Haible <=