[htdig3-dev] Patch for htnet/HtHTTP.cc


loic@ceic.com
Tue, 5 Oct 1999 18:51:11 +0200 (MEST)


Michael Hirohama writes:
>
> When building the htdig3 CVS tree using g++, the following is emitted.
> See below for a context diff to fix the fatal errors. Someone more
> familiar with the code can eliminate te warning messages. I've
> eliminated much of the output for the sake of briefity.
>
>
> Note in particuar that there are many warnings of the form:
> choosing `String::operator char * ()'
> over `String::operator const char * () const'
> for conversion from `String' to `const char *'
> because conversion sequence for the argument is better
>

 Interesting. What version of g++ do you use, (I assume it is on AIX) ?
Are you compiling from the latests CVS update ?
 I'm using egcs-2.91.66 and gcc-2.95 and did not get this messsage.

 Your syslog problem comes from the fact that htconfig.h is not included
in Display.cc. I've fixed this.

 From the autoconf documentation:

- Macro: AC_AIX
     If on AIX, define `_ALL_SOURCE'. Allows the use of some BSD
     functions. Should be called before any macros that run the C
     compiler.

 And this is defined in htconfig.h and triggers the proper inclusion
from syslog.h.

 Cheers,

-- 
		Loic Dachary

ECILA 100 av. du Gal Leclerc 93500 Pantin - France Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61 e-mail: Loic@Dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Tue Oct 05 1999 - 09:44:49 PDT