bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex-quote.c fails to build on Solaris 2.6


From: Tom G. Christensen
Subject: Re: regex-quote.c fails to build on Solaris 2.6
Date: Mon, 30 May 2011 07:58:19 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

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  <address@hidden>
> 
>       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 <address@hidden>.
> 

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

[Prev in Thread] Current Thread [Next in Thread]