Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> 
> Michael Hirohama writes:
>  > 
>  > I've had much frustration in compiling the htdig3 CVS source using
>  > the 1999-09-27 snapshot of egcs-g++ on a powerpc-ibm-aix4.1.4.0.
>  > My desire to use the 2.7.7 Version of Berkeley DB and difficulties
>  > in getting a working g++ added to the difficulty of using the
>  > buggy AIX <sys/time.h> and varargs files.
> 
>  Could you send the full error messages from the compiler ? Using 
> appropriate #if and autoconf, we should be able to get it right. Of
> course I could just review all files including time.h but your messages
> will help.
> 

Hi, Loic.

I'll back my changes and send you more information directly.

>  > I uncovered and reported an EGCS compiler bug generated by the
>  > mystrcasecmp(sorttypes[i].typest, st) expression in
>  > int ResultMatch::setSortType(const String& sorttype) in
>  > htnet/HtHTTP.cc.
> 
>  If this version contains multiple mystrcasecmp (one const, another not const)
> that's possible. I've changed back to only one const mystrcasecmp + cast 
> where appropriate. It should help.
> 
>  > I needed to change some references to expressions like
>  > SetBodyReadingController(&HtHTTP::ReadBody);  /* htnet/HtHTTP.cc:141 */
>  > 
>  > G++ reports many errors of the form:
>  > In file included from ../../htlib/String_fmt.cc:17:
>  > ../../htlib/htString.h: In method `char String::operator [] (int) const':
>  > ../../htlib/htString.h:225: warning: sorry: semantics of inline function static 
>data `char null' are wrong (you'll wind up with multiple copies)
>  > ../../htlib/htString.h:225: warning:   you can work around this by removing the 
>initializer
> 
>  I've fixed this by moving the static char null outside 
> the inline function. The header has a static char null = '\0' in it and
> therefore will have as many copies of null as there are source files using
> htString. We loose at most 100 bytes. Tolerable ?-)
> 

I've sent another bug report to EGCS folks.  You may want to make this
configurable as it is may be a temporary compiler error.

> [...]
> 

Sincerely,

Michael Hirohama <[EMAIL PROTECTED]>

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to