Re: cvs commit: squid3/src mem_node.cc mem_node.h stmem.cc stmem.h store_swapout.cc

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Sat, 08 Oct 2005 10:55:18 +0200

Hi Duane,

At 20.23 14/09/2005, wessels@squid-cache.org wrote:

>wessels 2005/09/14 12:23:21 MDT
>
> Modified files:
> src mem_node.cc mem_node.h stmem.cc stmem.h
> store_swapout.cc
> Log:
> Bug #1332: mem_node leak

After this patch, build on 64 bit systems fails:

depbase=`echo mem_node.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid3/etc/squid.conf\" -I. -I.
-I../include -I.
  -I. -I../include -I../include -I../lib/libTrie/include
-I../lib/cppunit-1.10.0/include -I ../lib/cppunit-
1.10.0/include -I/usr/include/libxml2 -Werror -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -D_REENT
RANT -g -O2 -MT mem_node.o -MD -MP -MF "$depbase.Tpo" -c -o
mem_node.o mem_node.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
mem_node.cc: In function `int makeMemNodeDataOffset()':
mem_node.cc:52: warning: cast from pointer to integer of different size
make[3]: *** [mem_node.o] Error 1

Looking into the code, I'm not sure to understand correctly what
makeMemNodeDataOffset() does.

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@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sat Oct 08 2005 - 02:55:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST