According to [EMAIL PROTECTED]:
> Here's the specific message I get relating to regex_t:
>
> In file included from regex.h:20,
> from EndingsDB.cc:31:
> ../htlib/HtRegex.h:60: syntax error before `;'
> EndingsDB.cc: In method `void Endings::expandWord(String &, List &,
> Dictionary &, char *, char *)':
> EndingsDB.cc:334: `regex_t' undeclared (first use this function)
> EndingsDB.cc:334: (Each undeclared identifier is reported only once
> EndingsDB.cc:334: for each function it appears in.)
> EndingsDB.cc:334: parse error before `;'
> EndingsDB.cc:340: `reg' undeclared (first use this function)
> EndingsDB.cc:340: `REG_ICASE' undeclared (first use this function)
> EndingsDB.cc:340: `REG_NOSUB' undeclared (first use this function)
> EndingsDB.cc:340: `REG_EXTENDED' undeclared (first use this function)
> EndingsDB.cc:340: implicit declaration of function `int regcomp(...)'
> EndingsDB.cc:341: implicit declaration of function `int regexec(...)'
> EndingsDB.cc:369: implicit declaration of function `int regfree(...)'
>
> I haven't gotten a chance to explore this in great depth.
>
> I looked at include/htconfig.h and don't see a reference to
> HAVE_BROKEN_REGEX.
... and a bit later on...
> Sorry, I misspoke. The 3.2.0b3 version of the code has
>
> #define HAVE_BROKEN_REGEX 1
>
> in htconfig.h
>
> The 3.1.5 version of the doesn't show any listing for HAVE_BROKEN_REGEX
> in htconfig.h.
Hmmm. This error looks a lot like what we were seeing on Cygwin. It
appears that the compiler in grabbing the htfuzzy/Regex.h header file
when it sees the #include <regex.h> directive. Of course, Windows uses
case-insensitive filenames. Does Mac OS X as well? If so, all the more
reason to rename htfuzzy/Regex.{h,cc} to something else that won't be
mistaken for another name. Maybe Regexp or something like that? This
was your code, Geoff, so what do you suggest for the rename?
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html