So it need to change two file. 
Thanks. 

cheers, 
KZ


----- Original Message -----
From: Amos Jeffries <squ...@treenet.co.nz>
To: squid-users@squid-cache.org
Cc: 
Sent: Thursday, December 8, 2011 2:04 PM
Subject: Re: [squid-users] Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - 
store.cc

On 8/12/2011 6:33 p.m., kzl wrote:
> Hi Amos, 
>
>   As refer to http://bugs.squid-cache.org/show_bug.cgi?id=3440 , how to 
>change StoreEntry::deferProducer  not to be const?
> I'd tried just remove "const" word in the line, it shows:
> store.cc:372: error: prototype for `void 
> StoreEntry::deferProducer(RefCount<AsyncCall>&)' does not match any in class 
> `StoreEntry'
> Store.h:194: error: candidate is: void StoreEntry::deferProducer(const 
> RefCount<AsyncCall>&)
> *** Error code 1
>
> cheers,
> kz
>

This is the patch that went on top of 3.1.18:
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10415.patch

Amos

Reply via email to