On Sun, May 29, 2011 at 09:42:19PM +0200, Bruno Haible wrote:
> Hello,
> 
> Tom G. Christensen wrote:
> > The problem is that /usr/include/euc.h has this:
> > #define multibyte       (__ctype[520] > 1)
> > That file is being included by <widec.h> which is included by <wctype.h>
> > which is included by gnulib wctype.h.
> 
> Ouch. How ridiculous.
> 
> I'm adding this workaround:
> 
> 
> 2011-05-29  Bruno Haible  <br...@clisp.org>
> 
>       wctype-h: Avoid namespace pollution on Solaris 2.6.
>       * lib/wctype.in.h: On Solaris, undefine 'multibyte' and a few other
>       identifiers.
>       * doc/posix-headers/wctype.texi: Mention the problem.
>       Reported by Tom G. Christensen <t...@jupiterrise.com>.
> 

This fixes the problem for me and allowed the full snapshot to be built
and tested:
=======================
36 of 857 tests failed
(61 tests were not run)
=======================

The full log can be seen here:
http://jupiterrise.com/tmp/sol26-x86-gnulib-3532d15.log.gz
http://jupiterrise.com/tmp/sol26-x86-gnulib-3532d15-config.log.gz

-tgc

Reply via email to