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 <br...@clisp.org> > > * 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 <ch...@thewrittenword.com> > and Thomas Guyot-Sionnest <derm...@aei.ca>.
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