Search squid archive

Re: Problem compiling Squid 3.1.18 on Ubuntu 10.04 LTS - store.cc

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

 



So it need to change two file. 
Thanks. 

cheers, 
KZ


----- Original Message -----
From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
To: squid-users@xxxxxxxxxxxxxxx
Cc: 
Sent: Thursday, December 8, 2011 2:04 PM
Subject: Re:  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




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

  Powered by Linux