On Fri, 17 Jun 2005, Patrice wrote:
> I just changed the type to int , and it worked without warnings:
>
> #define EXIM_SOCKLEN_T int
OK, maybe that's what you are getting by default, judging from your man
pages. I'll make this change in the sources.
> I had another warning:
>
> cc -c -O -I. -I/usr/local/include/openssl/ -I/usr/local/include
> rfc2047.c
> cc: Warning: rfc2047.c, line 262: In this statement, the referenced
> type of the pointer value "(const char ...)(&dp
> tr)" is "pointer to const char", which is not compatible with
> "pointer to char". (ptrmismatch)
> (void)iconv(icd, (ICONV_ARG2_TYPE)(&dptr), &dlen, CSS &outptr,
> &outleft);
> -----------------------^
>
> I corrected my os.h-OSF1 with adding :
>
> #define ICONV_ARG2_TYPE char **
The default is "const char **". I will make this change for OSF1 too.
Thanks.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book