The new on-disk cache implementaion

Chris Bennett chris at ceegeebee.com
Sun Apr 26 07:00:08 PDT 2015


That fixed the compile issues and I've now successfully tested the disk
cache.  Working exactly as advertised so far :)  Thanks for the new feature!

On 26 April 2015 at 16:35, Juli Mallett <juli at clockworksquid.com> wrote:

> Try replacing ::const_iterator in any function which calls erase using
> the iterator with just ::iterator, if that makes sense.  I have not
> really done enough testing on Linux and with libstdc++ instead of
> libc++.
>
> On Sat, Apr 25, 2015 at 11:48 PM, Chris Bennett <chris at ceegeebee.com>
> wrote:
> > I see from your pull request comment that you are not building on Linux
> > primarily.  I've now hit the following.  I don't know enough about C++ to
> > know how to even start.  Any ideas?  Thanks!
> >
> > root at 42e3e050aaa7:/data/wanproxy/programs/wanproxy# make 2>&1 | grep
> 'error:
> > '
> > ../../xcodec/xcodec_cache_disk.cc:196:29: error: no matching function for
> > call to 'std::map<long unsigned int, long unsigned int, std::less<long
> > unsigned int>, std::allocator<std::pair<const long unsigned int, long
> > unsigned int> > >::erase(std::map<long unsigned int, long unsigned int,
> > std::less<long unsigned int>, std::allocator<std::pair<const long
> unsigned
> > int, long unsigned int> > >::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:257:29: error: no matching function for
> > call to 'std::map<long unsigned int, long unsigned int, std::less<long
> > unsigned int>, std::allocator<std::pair<const long unsigned int, long
> > unsigned int> > >::erase(std::map<long unsigned int, long unsigned int,
> > std::less<long unsigned int>, std::allocator<std::pair<const long
> unsigned
> > int, long unsigned int> > >::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:344:32: error: no matching function for
> > call to '__gnu_cxx::hash_map<Tag64, long unsigned
> > int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned
> int>::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:410:33: error: no matching function for
> > call to '__gnu_cxx::hash_map<Tag64, long unsigned
> > int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned
> int>::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:499:29: error: no matching function for
> > call to 'std::map<short unsigned int,
> > XCodecDiskCache*>::erase(std::map<short unsigned int,
> > XCodecDiskCache*>::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:719:30: error: no matching function for
> > call to '__gnu_cxx::hash_map<Tag64, long unsigned
> > int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned
> int>::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:728:30: error: no matching function for
> > call to '__gnu_cxx::hash_map<Tag64, long unsigned
> > int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned
> int>::const_iterator&)'
> > ../../xcodec/xcodec_cache_disk.cc:745:31: error: no matching function for
> > call to '__gnu_cxx::hash_map<Tag64, long unsigned
> > int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned
> int>::const_iterator&)'
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20150426/a4da2da2/attachment.htm>


More information about the wanproxy mailing list