OS = HP-UX 11.00
C++=aCC
C=HP ANSI C

autoconf=yes
automake=yes


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

.... numerous warnings ....
        
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
    ["../htlib/htString.h", line 111].
        String              &chop(char *str = "\r\n");
                             ^^^^                     
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(int)" was previously declared at
    ["../htlib/htString.h", line 110].
        String              &chop(char *str = "\r\n");
                             ^^^^                     
Warning 829: "Endings.cc", line 35 # Implicit conversion of string literal to 'c
har *' is deprecated.
        name = "endings";
        ^^^^^^^^^^^^^^^^ 
c++ -c  -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I..
/htcommon -I../db/dist -I../include -g EndingsDB.cc
Warning 552: "../htlib/htString.h", line 111 # Ambiguous overloaded function dec
laration; default arguments make this function indistinguishable from previous o
ne. Clashing function "String &String::chop(int)" was previously declared at
    ["../htlib/htString.h", line 110].
        String              &chop(char ch = '\n');
                             ^^^^                 
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
    ["../htlib/htString.h", line 111].
        String              &chop(char *str = "\r\n");
                             ^^^^                     
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(int)" was previously declared at
    ["../htlib/htString.h", line 110].
        String              &chop(char *str = "\r\n");
                             ^^^^                     
Error 181: "EndingsDB.cc", line 316 # Expected 0 argument(s) for "int regcomp()"
; had 3 instead.
                regcomp(&reg, entry->expression, REG_ICASE | REG_NOSUB | REG_EXT

                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error 181: "EndingsDB.cc", line 317 # Expected 0 argument(s) for "int regexec()"
; had 5 instead.
                if (regexec(&reg, word, 0, NULL, 0) == 0)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^      
Error 181: "EndingsDB.cc", line 345 # Expected 0 argument(s) for "void regfree()
"; had 1 instead.
                regfree(&reg);
                ^^^^^^^^^^^^^ 
make[1]: *** [EndingsDB.o] Error 2
make[1]: Leaving directory `/usr/local/opt/httpd/htdig/htdig-3.1.5/htfuzzy'
make: *** [all] Error 1
# 

I also get pages and pages of warnigs regarding the following 
two (2) types of code segments:

1.

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
    ["../htlib/htString.h", line 111].
        String              &chop(char *str = "\r\n");
                             ^^^^                     

and

2.

Warning 829: "defaults.cc", line 163 # Implicit conversion of string literal to 
'char *' is deprecated.
        {"word_db",                         "${database_base}.words.db"},
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^  

where "words.db" can be replaced with a number of variable 
names.  

The same problems occur when I try to build htdig 3.2.0.b2, 
and in the same places.  I would really like to get this to work 
but I need some help to fix whatever is wrong.  Can someone 
on this list assist?

Regards,
Jim
---   *** e-mail is not a secure channel ***
James B. Byrne                Harte & Lyne Limited
vox: +1 905 561 1241          9 Brockley Drive
fax: +1 905 561 0757          Hamilton, Ontario
mailto:[EMAIL PROTECTED]  Canada L8E 3C3

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

Reply via email to