<div dir="ltr">Alain-Pierre,<div><br></div><div>I think I've resolved that.  Let me know.</div><div><br></div><div>Thanks,</div><div>Juli.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 10, 2014 at 9:21 AM, Alain-Pierre Perrin <span dir="ltr"><<a href="mailto:apperrin@wanadoo.fr" target="_blank">apperrin@wanadoo.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Juli.<br>
<br>
<br>
First of all, thank you for your quick and very elaborate reply. I can<br>
see some activity in the SVN repository those days and I intend to test<br>
as soon as possible your last refinements in memory control... but on<br>
Linux (with gcc (GCC) 4.9.0 20140507), since revision 1439 (and up to<br>
today's version, which is 1456), the compilation of wanproxy keeps<br>
failing (with or without your little additional patch) with this error<br>
:<br>
<br>
[...]<br>
g++ -I../.. -Wno-deprecated -Wnon-virtual-dtor -include common/common.h -pipe -O -g -W -Wall -Wno-system-headers -Wno-uninitialized -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Wreorder -DTHREADS -c -o wanproxy_config_class_codec.o wanproxy_config_class_codec.cc<br>


In file included from wanproxy_config_class_codec.cc:32:0:<br>
../../xcodec/xcodec_cache.h: In member function ‘virtual BufferSegment* XCodecMemoryCache::lookup(const uint64_t&)’:<br>
../../xcodec/xcodec_cache.h:225:27: erreur: invalid initialization of reference of type ‘XCodecMemoryCache::CacheEntry&’ from expression of type ‘const XCodecMemoryCache::CacheEntry’<br>
   CacheEntry& entry = it->second;<br>
                           ^<br>
../../common/<a href="http://program.mk:103" target="_blank">program.mk:103</a>: recipe for target 'wanproxy_config_class_codec.o' failed<br>
make: *** [wanproxy_config_class_codec.o] Error 1<br>
<br>
My system programming skills in C/C++ are basically zero. I wish I could<br>
help you more... Of all the possible causes I see 3 of them :<br>
* A new and missing (at least on my computer) dependency<br>
* Different behavior and tolerance of compilers<br>
* Subtle inter OS (BSD / Linux) differences<br>
<br>
Thanks again for your efforts.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Alain-Pierre<br>
</font></span></blockquote></div><br></div>