perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [PATCH] fix warnings with gcc 4.x
Date Tue, 19 Jul 2005 12:22:23 GMT


Joe Orton wrote:
> The APR base64 encode/decode functions expect unsigned char * arguments 
> for the raw binary input/output buffers. gcc 4.x now warns for pointer 
> signedness mismatches like this; casting is really the only way.
> (alternatively, if you dislike this, the warning can be turned off)

well, most of us like to build with -Werror so we keep the source as clean
as possible, so I'd favor fixing the warning rather than simply ignoring it.

> 
> Also the mpxs_APR__Base64_encode_len looks rather wrong; fixed below.

great, thanks, applied.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message