<div dir="ltr">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!</div><div class="gmail_extra"><br><div class="gmail_quote">On 26 April 2015 at 16:35, Juli Mallett <span dir="ltr"><<a href="mailto:juli@clockworksquid.com" target="_blank">juli@clockworksquid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try replacing ::const_iterator in any function which calls erase using<br>
the iterator with just ::iterator, if that makes sense.  I have not<br>
really done enough testing on Linux and with libstdc++ instead of<br>
libc++.<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Apr 25, 2015 at 11:48 PM, Chris Bennett <<a href="mailto:chris@ceegeebee.com">chris@ceegeebee.com</a>> wrote:<br>
> I see from your pull request comment that you are not building on Linux<br>
> primarily.  I've now hit the following.  I don't know enough about C++ to<br>
> know how to even start.  Any ideas?  Thanks!<br>
><br>
> root@42e3e050aaa7:/data/wanproxy/programs/wanproxy# make 2>&1 | grep 'error:<br>
> '<br>
> ../../xcodec/xcodec_cache_disk.cc:196:29: error: no matching function for<br>
> call to 'std::map<long unsigned int, long unsigned int, std::less<long<br>
> unsigned int>, std::allocator<std::pair<const long unsigned int, long<br>
> unsigned int> > >::erase(std::map<long unsigned int, long unsigned int,<br>
> std::less<long unsigned int>, std::allocator<std::pair<const long unsigned<br>
> int, long unsigned int> > >::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:257:29: error: no matching function for<br>
> call to 'std::map<long unsigned int, long unsigned int, std::less<long<br>
> unsigned int>, std::allocator<std::pair<const long unsigned int, long<br>
> unsigned int> > >::erase(std::map<long unsigned int, long unsigned int,<br>
> std::less<long unsigned int>, std::allocator<std::pair<const long unsigned<br>
> int, long unsigned int> > >::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:344:32: error: no matching function for<br>
> call to '__gnu_cxx::hash_map<Tag64, long unsigned<br>
> int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned int>::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:410:33: error: no matching function for<br>
> call to '__gnu_cxx::hash_map<Tag64, long unsigned<br>
> int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned int>::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:499:29: error: no matching function for<br>
> call to 'std::map<short unsigned int,<br>
> XCodecDiskCache*>::erase(std::map<short unsigned int,<br>
> XCodecDiskCache*>::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:719:30: error: no matching function for<br>
> call to '__gnu_cxx::hash_map<Tag64, long unsigned<br>
> int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned int>::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:728:30: error: no matching function for<br>
> call to '__gnu_cxx::hash_map<Tag64, long unsigned<br>
> int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned int>::const_iterator&)'<br>
> ../../xcodec/xcodec_cache_disk.cc:745:31: error: no matching function for<br>
> call to '__gnu_cxx::hash_map<Tag64, long unsigned<br>
> int>::erase(__gnu_cxx::hash_map<Tag64, long unsigned int>::const_iterator&)'<br>
><br>
</div></div></blockquote></div><br></div>