Re: [squid-users] Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - store.cc

From: kzl <kwangz-_at_rocketmail.com>
Date: Wed, 7 Dec 2011 22:11:13 -0800 (PST)

So it need to change two file.  Thanks.  cheers,  KZ ----- Original Message ----- From: Amos Jeffries <squid3@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
Received on Thu Dec 08 2011 - 06:13:15 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 09 2011 - 12:00:03 MST