bug-gnulib
[Top][All Lists]
Advanced

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

regex-quote.c fails to build on Solaris 2.6


From: Tom G. Christensen
Subject: regex-quote.c fails to build on Solaris 2.6
Date: Sun, 29 May 2011 20:43:51 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

Hello,

While trying to build a snapshot of gnulib on Solaris 2.6 I got this
build error:
depbase=`echo regex-quote.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1 -D_REENTRANT  
-g -O2 -MT regex-quote.o -MD -MP -MF $depbase.Tpo -c -o regex-quote.o 
regex-quote.c &&\
        mv -f $depbase.Tpo $depbase.Po
regex-quote.c: In function 'regex_quote_spec_posix':
regex-quote.c:40: error: expected identifier before '(' token
regex-quote.c: In function 'regex_quote_spec_gnu':
regex-quote.c:86: error: expected identifier before '(' token
regex-quote.c: In function 'regex_quote_spec_pcre':
regex-quote.c:123: error: expected identifier before '(' token
regex-quote.c: In function 'regex_quote_length':
regex-quote.c:139: error: expected identifier before '(' token
regex-quote.c: In function 'regex_quote_copy':
regex-quote.c:174: error: expected identifier before '(' token
make[4]: *** [regex-quote.o] Error 1

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.

For reference the preprocessed regex-quote.c can be found here:
http://jupiterrise.com/tmp/regex-quote.i

-tgc



reply via email to

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