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