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


Gabriele Bartolini (g.bartol@comune.prato.it)
Thu, 07 Oct 1999 12:51:24 +0200


>The problem with compiling htnet?Connection.cc is the result of
>build/include/htconfig.h containing:
>
>#define GETPEERNAME_LENGTH_T int
>
>instead of
>
>#define GETPEERNAME_LENGTH_T size_t
>
>

Ciao Michael, I am sure that Loc probably overrated my knowledge. As I can
see, the problem resides in the configure.in file. I think that, by looking
at your sys/types.h, that if no __cplusplus directive is set, the 3rd
element of getpeername is an int. That's what makes it not work ... I think.

I tried to change the configure.in by substituting the AC_LANG_C with
AC_LANG_CPLUSPLUS. Hope it works !!!

Ciao
-Gabriele

-------------------------------------------------

Gabriele Bartolini
U.O. Rete Civica - Comune di Prato
Prato - Italia - Europa

e-mail: g.bartol@comune.prato.it
http://www.po-net.prato.it

"Life teaches you never stop learning ..."

-------------------------------------------------

------------------------------------
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 Thu Oct 07 1999 - 03:59:10 PDT