bug-gnulib
[Top][All Lists]
Advanced

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

shouldn't regex depend on stdbool?


From: Dalibor Topic
Subject: shouldn't regex depend on stdbool?
Date: Wed, 07 Feb 2007 16:25:47 +0100
User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)

hi,

while trying to biuld the current fastjar (on savannah.nongnu.org) CVS head on sparc-solaris-2.9 using Sun CC, I noticed that the build fails with

cc -DHAVE_CONFIG_H -I. -I.. -g -c regex.c  -KPIC -DPIC -o .libs/regex.o
"./regex_internal.h", line 25: cannot find include file: <stdbool.h>
"./regex_internal.h", line 749: undefined or not a type: bool
"./regex_internal.h", line 749: syntax error before or at: bitset_contain
"./regex_internal.c", line 23: syntax error before or at: bool
"./regex_internal.c", line 23: warning: undefined or missing type for: bool
"./regex_internal.c", line 24: warning: undefined or missing type for: const
"./regex_internal.c", line 41: syntax error before or at: bool
"./regex_internal.c", line 41: warning: undefined or missing type for: bool
"./regex_internal.c", line 41: warning: undefined or missing type for: const
"./regex_internal.c", line 47: undefined symbol: dfa
"./regex_internal.c", line 47: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 47: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 48: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 48: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 50: undefined symbol: icase
"./regex_internal.c", line 56: non-unique member requires struct/union pointer: word_char "./regex_internal.c", line 56: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 57: non-unique member requires struct/union pointer: word_ops_used "./regex_internal.c", line 57: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 59: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 59: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 69: syntax error before or at: bool
"./regex_internal.c", line 69: warning: undefined or missing type for: bool
"./regex_internal.c", line 69: warning: undefined or missing type for: const
"./regex_internal.c", line 73: undefined symbol: icase
"./regex_internal.c", line 73: undefined symbol: dfa
"./regex_internal.c", line 86: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 86: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 95: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 95: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 109: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 109: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 172: syntax error before or at: bool
"./regex_internal.c", line 172: warning: undefined or missing type for: bool
"./regex_internal.c", line 173: warning: undefined or missing type for: const
"./regex_internal.c", line 179: undefined symbol: icase
"./regex_internal.c", line 181: undefined symbol: dfa
"./regex_internal.c", line 181: non-unique member requires struct/union pointer: mb_cur_max "./regex_internal.c", line 181: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 182: non-unique member requires struct/union pointer: is_utf8 "./regex_internal.c", line 182: left operand of "->" must be pointer to struct/union "./regex_internal.c", line 183: non-unique member requires struct/union pointer: map_notascii "./regex_internal.c", line 183: left operand of "->" must be pointer to struct/union
"./regex_internal.c", line 830: cannot recover from previous errors
cc: acomp failed for regex.c
gmake[3]: *** [regex.lo] Error 1
gmake[3]: Leaving directory `/tmp/topic/fastjar-0.95-pre/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/topic/fastjar-0.95-pre/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/topic/fastjar-0.95-pre'
gmake: *** [all] Error 2

which seems to indicate that the regex module should depend on the stdbool module.

cheers,
dalibor topic




reply via email to

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