This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] parallel build fix in libiberty


Gerald Pfeifer wrote:
> 
> On Thu, 26 Jul 2001, J. Johnston wrote:
> > Well, I notice that regex.c has a wide character support check for HAVE_WCHAR_H, HAVE_WCTYPE_H, and
> > HAVE_BTOWC, all of which are not being set by configure.  Try applying the attached patch which adds
> > the configure tests, reconfigure, and see if this fixes the problem.
> 
> I'm afraid it doesn't:
> 
> /sw/test/gcc/cvs/libiberty/regex.c:305: warning: redefinition of `uintptr_t'
> /usr/include/sys/int_types.h:108: warning: `uintptr_t' previously declared here
> /sw/test/gcc/cvs/libiberty/regex.c:423: parse error before "wchar_t"
> /sw/test/gcc/cvs/libiberty/regex.c:614:2: warning: suggest not using #elif in traditional C
> In file included from /sw/test/gcc/cvs/libiberty/regex.c:635:
> /sw/test/gcc/cvs/libiberty/regex.c:614:2: warning: suggest not using #elif in traditional C
> 
> sparc-sun-solaris2.8 still won't bootstrap, though if you think the
> patch per se is good, hopefully someone is going to approve it.
> 
> Gerald

Gerald,

  Can you post the lines containing HAVE_WCHAR_H, HAVE_WCTYPE_H, and HAVE_BTOWC from the config.h
file in your libiberty build directory?  

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]