Thanks for that, Neil.
That problem should be fixed in the attached patch. Could you try
"make -k" so that it will report as many errors at once as possible?
Thanks again,
Lachlan
On Wed, 18 Jun 2003 02:15, Neil Kohl wrote:
> The make of b5 on Solaris 9 with Sun c++ failed. Gory details
> follow. I've got the complete configure and make output saved if
> you need it.
--
[EMAIL PROTECTED]
ht://Dig developer DownUnder (http://www.htdig.org)
diff -c -r ../cvs/htdig/htcommon/URL.h ./htcommon/URL.h
*** ../cvs/htdig/htcommon/URL.h Sat Jan 11 13:33:28 2003
--- ./htcommon/URL.h Wed Jun 18 21:50:01 2003
***************
*** 91,97 ****
//String &encodeURL(String &, char *valid = "[EMAIL PROTECTED]&/:");
//String &encodeURL(String &, char *reserved = ";/?:@&=+$,");
// char *unreserved = "-_.!~*'()");
! String &encodeURL(String &, char *valid = UNRESERVED);
String &decodeURL(String &);
--- 91,97 ----
//String &encodeURL(String &, char *valid = "[EMAIL PROTECTED]&/:");
//String &encodeURL(String &, char *reserved = ";/?:@&=+$,");
// char *unreserved = "-_.!~*'()");
! String &encodeURL(String &, char *valid = (char *)UNRESERVED);
String &decodeURL(String &);
diff -c -r ../cvs/htdig/htlib/HtTime.h ./htlib/HtTime.h
*** ../cvs/htdig/htlib/HtTime.h Sat Feb 2 09:49:33 2002
--- ./htlib/HtTime.h Wed Jun 18 21:50:53 2003
***************
*** 95,101 ****
}
return(0);
}
! Progression(double nperiod=.1,char *nlabel="progression")
{
label=nlabel;
period=nperiod;
--- 95,101 ----
}
return(0);
}
! Progression(double nperiod=.1,char *nlabel=(char *)"progression")
{
label=nlabel;
period=nperiod;
diff -c -r ../cvs/htdig/htlib/htString.h ./htlib/htString.h
*** ../cvs/htdig/htlib/htString.h Sat Feb 2 09:49:34 2002
--- ./htlib/htString.h Wed Jun 18 21:50:29 2003
***************
*** 131,137 ****
inline String &trunc() { Length = 0; return *this; }
String &chop(int n = 1);
String &chop(char ch = '\n');
! String &chop(const char *str = "\r\n");
//
// SubStrings
--- 131,137 ----
inline String &trunc() { Length = 0; return *this; }
String &chop(int n = 1);
String &chop(char ch = '\n');
! String &chop(const char *str = (char *)"\r\n");
//
// SubStrings
diff -c -r ../cvs/htdig/htnet/Connection.h ./htnet/Connection.h
*** ../cvs/htdig/htnet/Connection.h Wed Jun 18 21:46:05 2003
--- ./htnet/Connection.h Wed Jun 18 21:48:11 2003
***************
*** 66,76 ****
int Listen(int n = 5);
// IO
! String* Read_Line(String &, char *terminator = "\n");
! char* Read_Line(char *buffer, int maxlength, char *terminator = "\n");
! String* Read_Line(char *terminator = "\n");
virtual int Read_Char();
! int Write_Line(char *buffer, char *eol = "\n");
int Write(char *buffer, int maxlength = -1);
int Read(char *buffer, int maxlength);
--- 66,76 ----
int Listen(int n = 5);
// IO
! String* Read_Line(String &, char *terminator = (char *)"\n");
! char* Read_Line(char *buffer, int maxlength, char *terminator=(char *)"\n");
! String* Read_Line(char *terminator = (char *)"\n");
virtual int Read_Char();
! int Write_Line(char *buffer, char *eol = (char *)"\n");
int Write(char *buffer, int maxlength = -1);
int Read(char *buffer, int maxlength);
diff -c -r ../cvs/htdig/htnet/Connection.h~ ./htnet/Connection.h~
*** ../cvs/htdig/htnet/Connection.h~ Wed Jun 18 21:44:32 2003
--- ./htnet/Connection.h~ Wed Jun 18 21:46:05 2003
***************
*** 66,76 ****
int Listen(int n = 5);
// IO
! String* Read_Line(String &, char *terminator = (char*)"\n");
! char* Read_Line(char *buffer, int maxlength, char *terminator = (char*)"\n");
! String* Read_Line(char *terminator = (char*)"\n");
virtual int Read_Char();
! int Write_Line(char *buffer, char *eol = (char*)"\n");
int Write(char *buffer, int maxlength = -1);
int Read(char *buffer, int maxlength);
--- 66,76 ----
int Listen(int n = 5);
// IO
! String* Read_Line(String &, char *terminator = "\n");
! char* Read_Line(char *buffer, int maxlength, char *terminator = "\n");
! String* Read_Line(char *terminator = "\n");
virtual int Read_Char();
! int Write_Line(char *buffer, char *eol = "\n");
int Write(char *buffer, int maxlength = -1);
int Read(char *buffer, int maxlength);
diff -c -r ../cvs/htdig/htnet/HtCookie.cc ./htnet/HtCookie.cc
*** ../cvs/htdig/htnet/HtCookie.cc Sat Feb 1 23:59:14 2003
--- ./htnet/HtCookie.cc Wed Jun 18 22:01:51 2003
***************
*** 465,471 ****
HtCookie::DateFormat HtCookie::RecognizeDateFormat(const char *datestring)
{
! register char *s;
if (datestring)
{
--- 465,471 ----
HtCookie::DateFormat HtCookie::RecognizeDateFormat(const char *datestring)
{
! register const char *s;
if (datestring)
{
diff -c -r ../cvs/htdig/htnet/Transport.cc ./htnet/Transport.cc
*** ../cvs/htdig/htnet/Transport.cc Wed Jun 18 21:46:07 2003
--- ./htnet/Transport.cc Wed Jun 18 21:47:21 2003
***************
*** 418,424 ****
// Recognize the possible date format sent by the server
Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring)
{
! register char *s;
if((s=strchr(datestring, ',')))
{
--- 418,424 ----
// Recognize the possible date format sent by the server
Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring)
{
! register const char *s;
if((s=strchr(datestring, ',')))
{
diff -c -r ../cvs/htdig/htnet/Transport.cc~ ./htnet/Transport.cc~
*** ../cvs/htdig/htnet/Transport.cc~ Wed Jun 18 21:43:09 2003
--- ./htnet/Transport.cc~ Wed Jun 18 21:46:07 2003
***************
*** 418,424 ****
// Recognize the possible date format sent by the server
Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring)
{
! register const char *s;
if((s=strchr(datestring, ',')))
{
--- 418,424 ----
// Recognize the possible date format sent by the server
Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring)
{
! register char *s;
if((s=strchr(datestring, ',')))
{
diff -c -r ../cvs/htdig/htword/WordBitCompress.h ./htword/WordBitCompress.h
*** ../cvs/htdig/htword/WordBitCompress.h Mon Dec 30 23:42:59 2002
--- ./htword/WordBitCompress.h Wed Jun 18 21:52:00 2003
***************
*** 135,141 ****
}
// get/put an integer using n bits
! void put_uint(unsigned int v,int n,const char *tag="NOTAG");
unsigned int get_uint( int n,const char *tag=(char*)NULL);
// get/put n bits of data stored in vals
--- 135,141 ----
}
// get/put an integer using n bits
! void put_uint(unsigned int v,int n,const char *tag=(char*)"NOTAG");
unsigned int get_uint( int n,const char *tag=(char*)NULL);
// get/put n bits of data stored in vals
***************
*** 219,229 ****
public:
int verbose;
// get/put an integer using a variable number of bits
! void put_uint_vl(unsigned int v,int maxn,const char *tag="NOTAG");
unsigned int get_uint_vl( int maxn,const char *tag=(char*)NULL);
// get/put an integer checking for an expected value
! void put_uint_ex(unsigned int v,unsigned int ex,int maxn,const char *tag="NOTAG")
{
if(v==ex){put(1,tag);}
else{put(0,tag);put_uint(v,maxn,(char*)NULL);}
--- 219,229 ----
public:
int verbose;
// get/put an integer using a variable number of bits
! void put_uint_vl(unsigned int v,int maxn,const char *tag=(char*)"NOTAG");
unsigned int get_uint_vl( int maxn,const char *tag=(char*)NULL);
// get/put an integer checking for an expected value
! void put_uint_ex(unsigned int v,unsigned int ex,int maxn,const char *tag=(char*)"NOTAG")
{
if(v==ex){put(1,tag);}
else{put(0,tag);put_uint(v,maxn,(char*)NULL);}
***************
*** 237,247 ****
// compress/decompress an array of unsigned ints (choosing best method)
int put_vals(unsigned int *vals,int n,const char *tag);
! int get_vals(unsigned int **pres,const char *tag="BADTAG!");
// compress/decompress an array of bytes (very simple)
int put_fixedbitl(byte *vals,int n,const char *tag);
! int get_fixedbitl(byte **pres,const char *tag="BADTAG!");
// compress/decompress an array of unsigned ints (very simple)
void get_fixedbitl(unsigned int *res,int n);
--- 237,247 ----
// compress/decompress an array of unsigned ints (choosing best method)
int put_vals(unsigned int *vals,int n,const char *tag);
! int get_vals(unsigned int **pres,const char *tag=(char*)"BADTAG!");
// compress/decompress an array of bytes (very simple)
int put_fixedbitl(byte *vals,int n,const char *tag);
! int get_fixedbitl(byte **pres,const char *tag=(char*)"BADTAG!");
// compress/decompress an array of unsigned ints (very simple)
void get_fixedbitl(unsigned int *res,int n);