Re: [htdig] Can't build htdig 3.1.5 (htfuzzy)

Subject: Re: [htdig] Can't build htdig 3.1.5 (htfuzzy)
From: Geoff Hutchison (
Date: Fri May 12 2000 - 14:55:29 PDT

On Fri, 12 May 2000, James B. Byrne wrote:

> C++=aCC

I'm not familiar with the HP compiles. I assume this is a full c++

> When attempting to build htdig 3.1.5 "out of the box" I get the
> following errors:

> Warning 552: "../htlib/htString.h", line 112 # Ambiguous overloaded function dec
> laration; default arguments make this function indistinguishable from previous o
> ne. Clashing function "String &String::chop(char)" was previously declared at

> Warning 829: "", line 35 # Implicit conversion of string literal to 'c
> har *' is deprecated.
> name = "endings";
> ^^^^^^^^^^^^^^^^

I'm surprised at the warnings--these are non-issues. Modern C++ compilers
understand there is a difference between int and char and understand that
if you have a string class, the literal need not be converted. (The class
itself has a non-implicit conversion to char *).

However, these don't stop compilation. You have a problem with your regex
functions being non-POSIX compliant:

Error 181: "", line 316 # Expected 0 argument(s) for "int
regcomp()" ; had 3 instead.
 regcomp(&reg, entry->expression, REG_ICASE | REG_NOSUB | REG_EXT

We could probably arrange a regex configure test for this, but we include
our own regex code for exactly this reason--many platforms have "broken"
regex functions.

You will need to fix the errors, but you can probably ignore the warnings.

-Geoff Hutchison
Williams Students Online

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Fri May 12 2000 - 12:43:05 PDT