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"><<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>></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>
> I have downloaded from git the spice code, the spice protocol and pixman. I<br>
> have installed pixman first then the protocol and finally the spice server<br>
> and client(with bulding instructions in the wiki page). When I compile spice<br>
> server and client I see a compiling error.<br>
> I do "configure" then "make" but the terminal show me:<br>
><br>
><br>
> CC glz_encoder_dictionary.lo<br>
> cc1: warnings being treated as errors<br>
> glz_encoder_dictionary.c: In function ‘glz_dictionary_pre_encode’:<br>
> glz_encoder_dictionary.c:488:22: error: ‘prev_seg_id’ may be used<br>
> 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>