Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> 
> 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,
> 

Hi, Loic.

The macro described above is for AIX 3.x systems.  The AIX 4.1.5
distribution needs _XOPEN_EXTENDED_SOURCE to  be defined for
closelog(3), openlog(3), setlogmask(3), and syslog(3).

Sincerely,

Michael Hirohama

------------------------------------
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