[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #ifndef _GL_WCHAR_H in lib/wchar.in.h
From: |
Thomas Guyot-Sionnest |
Subject: |
Re: #ifndef _GL_WCHAR_H in lib/wchar.in.h |
Date: |
Mon, 19 Jan 2009 00:09:53 -0500 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
On 17/01/09 08:10 AM, Bruno Haible wrote:
>>> $ cd gllib
>>> $ cc -DHAVE_CONFIG_H -I. -I.. -I../intl -g -E getdate.c | \
>>> grep mbstate_t | head -2
>>> extern size_t rpl_wcrtomb (char *s, wchar_t wc, mbstate_t *ps);
>>> typedef char mbstate_t;
>> Thanks for reporting this. Can you send me the complete output of
>> "cc -DHAVE_CONFIG_H -I. -I.. -I../intl -g -E getdate.c", please,
>> together with a copy of the system include files that are involved?
>
> Thanks for this data. I'm committing this, in an attempt to fix the
> problem. Please let me know if it does not fix the problem (and in
> that case, please provide the output of
> "cc -DHAVE_CONFIG_H -I. -I.. -I../intl -g -E getdate.c" again).
>
>
> 2009-01-17 Bruno Haible <address@hidden>
>
> * lib/wchar.in.h: In another particular situation, include only the
> system's <wchar.h> file.
> (_GL_ALREADY_INCLUDING_WCHAR_H): New macro.
> Reported by Albert Chin-A-Young <address@hidden>
> and Thomas Guyot-Sionnest <address@hidden>.
Although the original patch by Albert Chin didn't help, this one fixed
our problem. IRIX 6.5 builds fine with it now.
Thanks!
--
Thomas