Hi,
> Get the following while trying a build on a NetWare platform form CVS 2.1
> HEAD:
> Generating Release\proxyajp_cc.opt
> Compiling proxy_ajp.c
> Compiling proxy_util.c
> Compiling c:\projects\gccnlm\ajplib/ajp_header.c
> Compiling c:\projects\gccnlm\ajplib/ajp_msg.c
> Compiling c:\projects\gccnlm\ajplib/ajp_link.c
> ### mwccnlm Compiler:
> #    File: ..\..\..\ajplib\ajp_link.c
> # -----------------------------------
> #     101:      status = ilink_read(sock, msg->buf, hlen);
> #   Error:                                              ^
> #   illegal implicit conversion from 'unsigned char *' to
> #   'char *'
> ### mwccnlm Compiler:
> #     117:      status = ilink_read(sock, msg->buf + hlen, blen);
> #   Error:                                                     ^
> #   illegal implicit conversion from 'unsigned char *' to
> #   'char *'

> Major problem is that apr.h (AprLib 1.0) defines _apr_byte_t as unsigned
> char,
> whereas the ilink_read() function defines the buffer pointer to be of type
> char*...
yeah, but whatever we do, I think finally when we come to the socket functions we have 
to deal again with char instead of apr_byte_t;
so for now the only way around is to add a compiler flag -relax_pointers to the 
XCFGAGS in the Makefile.

I've already asked about this problem in [EMAIL PROTECTED], but got no answer:
http://marc.theaimsgroup.com/?l=apr-dev&m=109103978113824&w=2

Guenter.


Reply via email to