Search squid archive

Re: Error compiling digest-auth-helpers of squid-3.0-PRE3-20060122

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

At 16.34 22/01/2006, gewehre@xxxxxxx wrote:
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../lib/cppunit-1.10.0/include -I ../lib/cppunit-1.10.0/include   -Werror
-Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wcomments -g -O2 -Wall -MT rfc1035.o -MD -MP -MF
".deps/rfc1035.Tpo" -c -o rfc1035.o rfc1035.c; \
then mv -f ".deps/rfc1035.Tpo" ".deps/rfc1035.Po"; else rm -f
".deps/rfc1035.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../lib/cppunit-1.10.0/include -I ../lib/cppunit-1.10.0/include   -Werror
-Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wcomments -g -O2 -Wall -MT rfc1123.o -MD -MP -MF
".deps/rfc1123.Tpo" -c -o rfc1123.o rfc1123.c; \
then mv -f ".deps/rfc1123.Tpo" ".deps/rfc1123.Po"; else rm -f
".deps/rfc1123.Tpo"; exit 1; fi
rfc1123.c:72: warning: `w_space' defined but not used
make[2]: *** [rfc1123.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Rigth, looking into the source, the line 72 of lib/rfc1123 is not needed.
Wondering why this the first time that this error happens ....

You can apply the following patch that I have just committed to the main CVS:

Index: lib/rfc1123.c
===================================================================
RCS file: /cvsroot/squid/squid3/lib/rfc1123.c,v
retrieving revision 1.36
diff -u -p -r1.36 rfc1123.c
--- lib/rfc1123.c       4 Nov 2005 21:02:15 -0000       1.36
+++ lib/rfc1123.c       22 Jan 2006 16:03:26 -0000
@@ -69,8 +69,6 @@
 #define RFC850_STRFTIME "%A, %d-%b-%y %H:%M:%S GMT"
 #define RFC1123_STRFTIME "%a, %d %b %Y %H:%M:%S GMT"

-static const char *const w_space = " \t\r\n";
-
 static int make_month(const char *s);
 static int make_num(const char *s);

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux