The version of gcc is:<br><br>gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)<br><br><br><div class="gmail_quote">2011/7/27 Christophe Fergeau <span dir="ltr">&lt;<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Wed, Jul 27, 2011 at 11:09:01AM +0200, Andrea Celestino wrote:<br>
&gt; I have downloaded from git the spice code, the spice protocol and pixman. I<br>
&gt; have installed pixman first then the protocol and finally the spice server<br>
&gt; and client(with bulding instructions in the wiki page). When I compile spice<br>
&gt; server and client I see a compiling error.<br>
&gt; I do &quot;configure&quot; then &quot;make&quot;  but the terminal show me:<br>
&gt;<br>
&gt;<br>
&gt;   CC     glz_encoder_dictionary.lo<br>
&gt; cc1: warnings being treated as errors<br>
&gt; glz_encoder_dictionary.c: In function ‘glz_dictionary_pre_encode’:<br>
&gt; glz_encoder_dictionary.c:488:22: error: ‘prev_seg_id’ may be used<br>
&gt; uninitialized in this function<br>
<br>
</div>Looking at the code, prev_seg_id initialization is a bit convoluted, but I<br>
think this warning is a false positive. We could intialize it to 0 to make<br>
it disappear. What gcc version are you using?<br>
You can avoid the compilation failing on this warning by passing<br>
--disable-werror to configure/autogen.sh<br>
<font color="#888888"><br>
Christophe<br>
</font></blockquote></div><br>