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

From: John Smith <lbalbalba_at_gmail.com>
Date: Sun, 29 Jun 2008 21:29:43 +0200

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
:

if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
 -I/usr/include/libxml2 -Werror -Wall -Wpointer-arith -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow
-Wpointer-arith -Wcast-qual -W -MT base64.o -MD -MP -MF
".deps/base64.Tpo" -c -o base64.o base64.c; \
then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f
".deps/base64.Tpo"; exit 1; fi
base64.c: In function `base64_encode':
base64.c:86: warning: comparison between signed and unsigned
base64.c: In function `base64_encode_bin':
base64.c:131: warning: comparison between signed and unsigned
make[2]: *** [base64.o] Error 1
make[2]: Leaving directory `/usr/local/src/squid/squid-3.HEAD-20080629/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/squid/squid-3.HEAD-20080629/lib'
make: *** [all-recursive] Error 1

Regards,

John Smith.
Received on Sun Jun 29 2008 - 20:08:20 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 30 2008 - 12:00:07 MDT