Re: Compile errorusing additonal CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sun, 29 Jun 2008 23:49:13 +0200

On sön, 2008-06-29 at 21:29 +0200, John Smith wrote:
> Hi,
>
> Ive just downloaded and compiled quid-3.HEAD-20080629.tar.gz, but when
> I add the CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W' I get the
> following error that may require further investigation of an developer

We are not quite yet up to speed for all of those warning flags..

> base64.c: In function `base64_encode':
> base64.c:86: warning: comparison between signed and unsigned

Code correct.

But yes, we could use unsigned int (or better yet size_t) for out_cnt
which would silence this warning..

> base64.c: In function `base64_encode_bin':
> base64.c:131: warning: comparison between signed and unsigned

Same thing..

Regards
Henrik

Received on Sun Jun 29 2008 - 21:49:22 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 01 2008 - 12:00:07 MDT